summaryrefslogtreecommitdiff
path: root/mysql-test/main/brackets.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/brackets.result')
-rw-r--r--mysql-test/main/brackets.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/main/brackets.result b/mysql-test/main/brackets.result
index 194807290a0..479b74b69e4 100644
--- a/mysql-test/main/brackets.result
+++ b/mysql-test/main/brackets.result
@@ -207,4 +207,16 @@ a b
1 100
3 30
drop table t1;
+#
+# MDEV-16359: union with 3 selects in brackets
+#
+select 1 union select 1 union select 1;
+1
+1
+(select 1 union select 1 union select 1);
+1
+1
+((select 1) union (select 1) union (select 1));
+1
+1
# End of 10.4 tests