diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-07-21 20:11:07 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-07-21 20:11:07 +0200 |
commit | 6190a02f3593f82e2d4916ed660afb5e5d631a5a (patch) | |
tree | f6fc56fd7aad1a332f9fc6850b2d579198d09ff8 /mysql-test/main/cte_recursive.result | |
parent | cf6d83e7d68bd2bc0af0404bf4dd15218847074d (diff) | |
parent | 4c387945f0f8d5df84ae987c4a4bba7675815c72 (diff) | |
download | mariadb-git-6190a02f3593f82e2d4916ed660afb5e5d631a5a.tar.gz |
Merge branch '10.2' into 10.3
Diffstat (limited to 'mysql-test/main/cte_recursive.result')
-rw-r--r-- | mysql-test/main/cte_recursive.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/main/cte_recursive.result b/mysql-test/main/cte_recursive.result index 21c6b225a89..50d3e889c4c 100644 --- a/mysql-test/main/cte_recursive.result +++ b/mysql-test/main/cte_recursive.result @@ -4500,6 +4500,33 @@ deallocate prepare stmt; drop table folks; set big_tables=@save_big_tables; # +# MDEV-26135: execution of PS for query with hanging recursive CTE +# +create table t1 (a int); +insert into t1 values (5), (7); +create table t2 (b int); +insert into t2 values (3), (7), (1); +with recursive r as (select a from t1 union select a+1 from r where a < 10) +select * from t2; +b +3 +7 +1 +prepare stmt from "with recursive r as (select a from t1 union select a+1 from r where a < 10) +select * from t2"; +execute stmt; +b +3 +7 +1 +execute stmt; +b +3 +7 +1 +deallocate prepare stmt; +drop table t1,t2; +# # End of 10.2 tests # # |