diff options
Diffstat (limited to 'mysql-test/t/flush.test')
-rw-r--r-- | mysql-test/t/flush.test | 9 |
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"; |