Update test

This commit is contained in:
Alexey Milovidov 2020-12-29 21:45:09 +03:00
parent 68fac02d35
commit d584f75cd7
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
SELECT 1;
SET union_default_mode='DISTINCT';
(((((((SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1;
(((((((SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1;

View File

@ -1,3 +1,5 @@
SET union_default_mode = 'DISTINCT';
EXPLAIN SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1;
EXPLAIN (SELECT 1 UNION ALL SELECT 1) UNION ALL SELECT 1;
EXPLAIN SELECT 1 UNION (SELECT 1 UNION ALL SELECT 1);