summaryrefslogtreecommitdiff
path: root/mysql-test/t/windows.test
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-04-23 17:15:51 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-04-23 17:15:51 +0300
commitb570cee1152b61422b0e0bd3035194cdbb21ce5d (patch)
treee1e2c8962687ebeb74a223bd271b6c25ad1c8f36 /mysql-test/t/windows.test
parent5b0ec8709ad4946260e257916a31d213b6168d26 (diff)
downloadmariadb-git-b570cee1152b61422b0e0bd3035194cdbb21ce5d.tar.gz
Bug #27811:
FORCE_INIT_OF_VARS was not defined for the debug builds on Windows. This caused LINT_INIT macro to be defined as NOP and this triggers false alarms about use of uninitialized with the runtime libs of some Visual Studio versions. Fixed by defining FORCE_INIT_OF_VARS to match the state of the Windows CMakeLists.txt: Bug #27811: added the missing build option mysql-test/r/windows.result: Bug #27811: test case mysql-test/t/windows.test: Bug #27811: test case
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 b5377a9b9b0..6976ee98750 100644
--- a/mysql-test/t/windows.test
+++ b/mysql-test/t/windows.test
@@ -27,3 +27,11 @@ CREATE TABLE t1 ( `ID` int(6) ) data directory 'c:/tmp/' index directory 'c:/tmp
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.