summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-06 10:43:53 +0200
committerunknown <monty@mysql.com>2004-03-06 10:43:53 +0200
commit5bc89a964433cf323fe7a020cc992d9913c032a3 (patch)
tree1fbe425dbef7c2935ed0368e7022ec59a9b8f01c /mysql-test/r
parentaa20bd9e8c44fbc14396fa418983b8c515b4e8ad (diff)
parentc0422729cf5b271d703564ff42afc621b069dfe5 (diff)
downloadmariadb-git-5bc89a964433cf323fe7a020cc992d9913c032a3.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0 sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_insert.cc: Auto merged
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/query_cache.result17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/r/query_cache.result b/mysql-test/r/query_cache.result
index c7554211a1a..a9e9f167e5f 100644
--- a/mysql-test/r/query_cache.result
+++ b/mysql-test/r/query_cache.result
@@ -687,4 +687,21 @@ select * from t3;
delete from t4 where a=1;
flush query cache;
drop table t1,t2,t3,t4;
+set query_cache_wlock_invalidate=1;
+create table t1 (a int not null);
+create table t2 (a int not null);
+select * from t1;
+a
+select * from t2;
+a
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 2
+lock table t1 write, t2 read;
+show status like "Qcache_queries_in_cache";
+Variable_name Value
+Qcache_queries_in_cache 1
+unlock table;
+drop table t1,t2;
+set query_cache_wlock_invalidate=default;
set GLOBAL query_cache_size=0;