summaryrefslogtreecommitdiff
path: root/mysql-test/r/cte_recursive.result
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2016-09-09 13:25:02 -0700
committerIgor Babaev <igor@askmonty.org>2016-09-09 13:25:02 -0700
commit5c7d82934690991ae98331c0ad14fce6e2f9760d (patch)
tree7b4c8ab2be0279d9dcfdbd3102264a1e91df470e /mysql-test/r/cte_recursive.result
parenteffb65bc863da0f1115e16ef5f11d11a13cdc7a0 (diff)
downloadmariadb-git-5c7d82934690991ae98331c0ad14fce6e2f9760d.tar.gz
Another attempt to fix bug mdev-10736.
Diffstat (limited to 'mysql-test/r/cte_recursive.result')
-rw-r--r--mysql-test/r/cte_recursive.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/cte_recursive.result b/mysql-test/r/cte_recursive.result
index da5f380c0e4..b37a32a8ae7 100644
--- a/mysql-test/r/cte_recursive.result
+++ b/mysql-test/r/cte_recursive.result
@@ -1623,3 +1623,12 @@ n
3
4
5
+#
+# MDEV-10736: recursive definition with anchor over a table with blob
+#
+CREATE TABLE t1 (f VARCHAR(1024));
+WITH RECURSIVE cte(f) AS
+(SELECT t1.f FROM t1 UNION ALL SELECT cte.f FROM cte)
+SELECT * FROM cte as t;
+f
+DROP TABLE t1;