summaryrefslogtreecommitdiff
path: root/mysql-test/t/group_by.test
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2013-10-29 20:53:05 +0200
committerunknown <sanja@montyprogram.com>2013-10-29 20:53:05 +0200
commitf4d5d849fd3b526d38ca6eb083fd0b290eb0eda7 (patch)
treebf55c043320485e4ce5c8be90c8d619b481a0306 /mysql-test/t/group_by.test
parentfef416699009b78366d9eec937c01822b531f518 (diff)
parent52dea41052bc1be1efbe59c320046d7e62cfd0a6 (diff)
downloadmariadb-git-f4d5d849fd3b526d38ca6eb083fd0b290eb0eda7.tar.gz
merge 5.5->10.0-base
Diffstat (limited to 'mysql-test/t/group_by.test')
-rw-r--r--mysql-test/t/group_by.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/group_by.test b/mysql-test/t/group_by.test
index 8a2e847fb94..03aeca605b8 100644
--- a/mysql-test/t/group_by.test
+++ b/mysql-test/t/group_by.test
@@ -1593,6 +1593,13 @@ set optimizer_switch=@save_optimizer_switch;
DROP TABLE t1,t2;
+--echo #
+--echo # MDEV-5104 crash in Item_field::used_tables with broken order by
+--echo #
+
+--error ER_BAD_FIELD_ERROR
+(select 1 order by x(y)) order by 1;
+
--echo # End of 5.3 tests
--echo #