summaryrefslogtreecommitdiff
path: root/mysql-test/t/subselect.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-05-23 10:54:09 +0400
committerAlexander Barkov <bar@mariadb.org>2016-05-23 10:54:09 +0400
commit4c0e2960d458cb437d4aa06d9193f5576c027448 (patch)
treeacafeca39279554d7be71af4de35cb43c8fc80e7 /mysql-test/t/subselect.test
parenta999acf26ecbe815f9b10780153384bea7840a03 (diff)
downloadmariadb-git-4c0e2960d458cb437d4aa06d9193f5576c027448.tar.gz
MDEV-10051 Fix subselect to return a syntax error instead of "Incorrect usage of UNION and LIMIT"
Diffstat (limited to 'mysql-test/t/subselect.test')
-rw-r--r--mysql-test/t/subselect.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/subselect.test b/mysql-test/t/subselect.test
index 5313a4b8a39..c19613da493 100644
--- a/mysql-test/t/subselect.test
+++ b/mysql-test/t/subselect.test
@@ -569,7 +569,7 @@ drop table t1, t2;
create table t1 (a float);
-- error ER_NOT_SUPPORTED_YET
select 10.5 IN (SELECT * from t1 LIMIT 1);
--- error ER_WRONG_USAGE
+-- error ER_PARSE_ERROR
select 10.5 IN (SELECT * from t1 LIMIT 1 UNION SELECT 1.5);
-- error ER_NOT_SUPPORTED_YET
select 10.5 IN (SELECT * from t1 UNION SELECT 1.5 LIMIT 1);