summaryrefslogtreecommitdiff
path: root/mysql-test/include/query_cache.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/query_cache.inc')
-rw-r--r--mysql-test/include/query_cache.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/query_cache.inc b/mysql-test/include/query_cache.inc
index 29a82f112c3..56dae83db2f 100644
--- a/mysql-test/include/query_cache.inc
+++ b/mysql-test/include/query_cache.inc
@@ -15,6 +15,8 @@
# main code went into include/query_cache.inc
#
+SET global query_cache_type=ON;
+SET local query_cache_type=ON;
eval SET SESSION STORAGE_ENGINE = $engine_type;
# Initialise
@@ -193,3 +195,5 @@ disconnect connection1;
connection default;
set @@global.query_cache_size = @save_query_cache_size;
drop table t2;
+
+SET global query_cache_type=default;