summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/flush.test8
-rw-r--r--mysql-test/t/grant_cache.test2
-rw-r--r--mysql-test/t/query_cache.test2
3 files changed, 4 insertions, 8 deletions
diff --git a/mysql-test/t/flush.test b/mysql-test/t/flush.test
index 38aa37caa4f..540aa4235cc 100644
--- a/mysql-test/t/flush.test
+++ b/mysql-test/t/flush.test
@@ -67,11 +67,3 @@ insert into t1 values (345);
select * from t1;
drop table t1;
-#
-# Test that QUERY CACHE commands doesn't core dump.
-# (Normally we don't have a cache active at this point)
-#
-
-flush query cache;
-reset query cache;
-show status like "Qcache_queries_in_cache";
diff --git a/mysql-test/t/grant_cache.test b/mysql-test/t/grant_cache.test
index a6c878cc31c..09ce1021fbf 100644
--- a/mysql-test/t/grant_cache.test
+++ b/mysql-test/t/grant_cache.test
@@ -1,3 +1,5 @@
+-- source include/have_query_cache.inc
+
#
# Test grants with query cache
#
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test
index b4d00639587..a3227a5db1d 100644
--- a/mysql-test/t/query_cache.test
+++ b/mysql-test/t/query_cache.test
@@ -1,3 +1,5 @@
+-- source include/have_query_cache.inc
+
#
# Tests with query cache
#