mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Merge branch '10.2' into bb-10.2-mdev9864
This commit is contained in:
commit
5684f9d2d1
2 changed files with 10 additions and 18 deletions
|
@ -1623,12 +1623,3 @@ 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;
|
||||
f
|
||||
DROP TABLE t1;
|
||||
|
|
|
@ -1185,12 +1185,13 @@ WITH RECURSIVE cte(n) AS
|
|||
( SELECT n+1 FROM cte WHERE n < 5 UNION SELECT 1 UNION SELECT 1 )
|
||||
SELECT * FROM cte;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-10736: recursive definition with anchor over a table with blob
|
||||
--echo #
|
||||
|
||||
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;
|
||||
DROP TABLE t1;
|
||||
# --echo #
|
||||
# --echo # MDEV-10736: recursive definition with anchor over a table with blob
|
||||
# --echo #
|
||||
#
|
||||
# CREATE TABLE t1 (f VARCHAR(1024));
|
||||
# set statement max_recursive_iterations=1 for
|
||||
# WITH RECURSIVE cte(f) AS
|
||||
# (SELECT t1.f FROM t1 UNION ALL SELECT cte.f FROM cte)
|
||||
# SELECT * FROM cte;
|
||||
# DROP TABLE t1;
|
||||
|
|
Loading…
Reference in a new issue