summaryrefslogtreecommitdiff
path: root/mysql-test/main/union.test
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2021-04-29 17:16:56 +0700
committerSergei Golubchik <serg@mariadb.org>2021-06-17 19:30:24 +0200
commitf536974b73dec47ddd87cb525f2f0d26d84f1a1d (patch)
tree4f86f612a51b76f6779e3a4cbfcd85691d489701 /mysql-test/main/union.test
parent8754fce8b086911a2446cb414f770ece13ef1d27 (diff)
downloadmariadb-git-f536974b73dec47ddd87cb525f2f0d26d84f1a1d.tar.gz
MDEV-16708: Unsupported commands for prepared statements
Fixed failures of the tests main.compound, main.union
Diffstat (limited to 'mysql-test/main/union.test')
-rw-r--r--mysql-test/main/union.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/main/union.test b/mysql-test/main/union.test
index 2e5a04a27f4..8d023546b3d 100644
--- a/mysql-test/main/union.test
+++ b/mysql-test/main/union.test
@@ -93,6 +93,7 @@ select 1 as a,(select a union select a);
SELECT @a:=1 UNION SELECT @a:=@a+1;
--error 1054
(SELECT 1) UNION (SELECT 2) ORDER BY (SELECT a);
+--sorted_result
(SELECT 1,3) UNION (SELECT 2,1) ORDER BY (SELECT 2);
#