summaryrefslogtreecommitdiff
path: root/mysql-test/t/query_cache.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r--mysql-test/t/query_cache.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test
index a97b0b1c815..3ef81c5c36c 100644
--- a/mysql-test/t/query_cache.test
+++ b/mysql-test/t/query_cache.test
@@ -727,10 +727,12 @@ set GLOBAL query_cache_size=1355776;
# Query with warning prohibited to query cache (BUG#9414)
#
flush status;
+SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
CREATE TABLE t1 (
`date` datetime NOT NULL default '0000-00-00 00:00:00',
KEY `date` (`date`)
) ENGINE=MyISAM;
+SET sql_mode = DEFAULT;
INSERT INTO t1 VALUES ('20050326');
INSERT INTO t1 VALUES ('20050325');