summaryrefslogtreecommitdiff
path: root/mysql-test/t/union.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-05-24 18:05:38 +0400
committerAlexander Barkov <bar@mariadb.org>2016-05-24 18:05:38 +0400
commitc80c3f6759e456b88211f8e207648ee5d3964dac (patch)
tree371a553ff4b77722df92536ea6da4a6f71d09f28 /mysql-test/t/union.test
parentea9a393a868dda808bd0c7a3f03b28208eb6570f (diff)
downloadmariadb-git-c80c3f6759e456b88211f8e207648ee5d3964dac.tar.gz
MDEV-10109 Disallow syntactically INSERT .. SELECT .. {ORDER BY ..| LIMIT ..} .. UNION ..
Diffstat (limited to 'mysql-test/t/union.test')
-rw-r--r--mysql-test/t/union.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test
index d7c67444015..151512515b9 100644
--- a/mysql-test/t/union.test
+++ b/mysql-test/t/union.test
@@ -56,7 +56,7 @@ select a,b from t1 into outfile 'skr' union select a,b from t2;
--error ER_PARSE_ERROR
select a,b from t1 order by a union select a,b from t2;
---error 1221
+--error ER_PARSE_ERROR
insert into t3 select a from t1 order by a union select a from t2;
--error 1222