From 4c17825acd56ccbbf7e6649e7ebe98c34f992c84 Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Thu, 6 Dec 2001 01:05:30 +0200 Subject: Update of query cache code --- mysql-test/t/flush.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t/flush.test') 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"; -- cgit v1.2.1