summaryrefslogtreecommitdiff
path: root/mysql-test/t/union.test
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2009-05-15 12:11:07 +0500
committerSergey Glukhov <Sergey.Glukhov@sun.com>2009-05-15 12:11:07 +0500
commitfc531ed45d61935307943f6b4524466a5d8bf585 (patch)
treede162ac67331aad8bb2ab68081ce0d6cb5183c0f /mysql-test/t/union.test
parent52973c14c914145c2090d3b4b594e117dd438322 (diff)
parentf024bde47392053b7e0801310ff235c4965aede7 (diff)
downloadmariadb-git-fc531ed45d61935307943f6b4524466a5d8bf585.tar.gz
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/t/union.test')
-rw-r--r--mysql-test/t/union.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test
index ece7099f66e..ec169838d59 100644
--- a/mysql-test/t/union.test
+++ b/mysql-test/t/union.test
@@ -1089,4 +1089,16 @@ CREATE TABLE t2 AS SELECT d FROM t1 UNION SELECT d FROM t1;
SHOW FIELDS FROM t2;
DROP TABLE t1, t2;
+#
+# Bug#43612 crash with explain extended, union, order by
+#
+CREATE TABLE t1(a INT);
+EXPLAIN EXTENDED
+SELECT a FROM t1
+UNION
+SELECT a FROM t1
+ORDER BY a;
+DROP TABLE t1;
+
+
--echo End of 5.0 tests