summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-03-11 11:07:32 -0800
committerjimw@mysql.com <>2005-03-11 11:07:32 -0800
commit50f9fc336825ae2585d0b7449c0c89d27a44a68d (patch)
tree4f7243853e672ad30afb3da59732b0090b4c9784 /mysql-test/r
parent24716cba44026469231af16b85c1c646fb18e145 (diff)
parentdf84c534ddea900333b77d3537cfa55f9e7b99b7 (diff)
downloadmariadb-git-50f9fc336825ae2585d0b7449c0c89d27a44a68d.tar.gz
Merge test and results
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/query_cache.result22
1 files changed, 21 insertions, 1 deletions
diff --git a/mysql-test/r/query_cache.result b/mysql-test/r/query_cache.result
index 9f61b029391..5fe00e70d3d 100644
--- a/mysql-test/r/query_cache.result
+++ b/mysql-test/r/query_cache.result
@@ -922,4 +922,24 @@ group_concat(a)
12345678901234567890
set group_concat_max_len=default;
drop table t1;
-SET GLOBAL query_cache_size=0;
+set global query_cache_size=1024*1024;
+flush query cache;
+create table t1 ( a int );
+insert into t1 values (1);
+select a from t1;
+a
+1
+select a from t1;
+a
+1
+show status like 'qcache_queries_in_cache';
+Variable_name Value
+Qcache_queries_in_cache 1
+repair table t1;
+Table Op Msg_type Msg_text
+test.t1 repair status OK
+show status like 'qcache_queries_in_cache';
+Variable_name Value
+Qcache_queries_in_cache 0
+drop table t1;
+set GLOBAL query_cache_size=0;