summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush.test
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-06 01:05:30 +0200
committermonty@hundin.mysql.fi <>2001-12-06 01:05:30 +0200
commit4c17825acd56ccbbf7e6649e7ebe98c34f992c84 (patch)
treeb6eaff9c9c574324b7a2aae18f5de2e52f89576c /mysql-test/t/flush.test
parent40da50460543ee76d70b727506bf0676be9bcd52 (diff)
downloadmariadb-git-4c17825acd56ccbbf7e6649e7ebe98c34f992c84.tar.gz
Update of query cache code
Diffstat (limited to 'mysql-test/t/flush.test')
-rw-r--r--mysql-test/t/flush.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/flush.test b/mysql-test/t/flush.test
index fe219471041..6a09b903873 100644
--- a/mysql-test/t/flush.test
+++ b/mysql-test/t/flush.test
@@ -66,3 +66,12 @@ connection con2;
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";