summaryrefslogtreecommitdiff
path: root/mysql-test/t/windows.test
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-04-29 18:52:14 +0500
committerholyfoot/hf@hfmain.(none) <>2007-04-29 18:52:14 +0500
commite0b6a9baa07aefefab5017f828f24d41e817f01c (patch)
treed2ced7a5e612c563a31d0e5b01644404a3ea51d1 /mysql-test/t/windows.test
parent870c2a5b3f5d955bb95ca6f1ad6616ab941dc45d (diff)
parent35ca5a4f87816ea3bb43120b568fd53078dcf80e (diff)
downloadmariadb-git-e0b6a9baa07aefefab5017f828f24d41e817f01c.tar.gz
Merge bk@192.168.21.1:mysql-5.1
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
Diffstat (limited to 'mysql-test/t/windows.test')
-rw-r--r--mysql-test/t/windows.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/windows.test b/mysql-test/t/windows.test
index a10d54b5452..0be81a95b9a 100644
--- a/mysql-test/t/windows.test
+++ b/mysql-test/t/windows.test
@@ -29,6 +29,14 @@ drop table t1;
# End of 4.1 tests
#
+# Bug #27811: The variable 'join_tab' is being used without being defined
+#
+CREATE TABLE t1 (a int, b int); INSERT INTO t1 VALUES (1,1);
+EXPLAIN SELECT * FROM t1 WHERE b = (SELECT max(2));
+
+--echo End of 5.0 tests.
+
+#
# Bug #20665: All commands supported in Stored Procedures should work in
# Prepared Statements
#