diff options
author | unknown <istruewing@stella.local> | 2008-03-26 17:36:12 +0100 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2008-03-26 17:36:12 +0100 |
commit | 98b776605302196a74a7e6cfe153abeebc879388 (patch) | |
tree | bb8ca53b834b814a1c251b21904822d448b7b791 /mysql-test/t/query_cache.test | |
parent | 27c0540bd8e785499accbd4777bdb5067911cce9 (diff) | |
parent | 10d9d68d7cbe1bbf9cf37fee71473b097a89f239 (diff) | |
download | mariadb-git-98b776605302196a74a7e6cfe153abeebc879388.tar.gz |
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg
mysql-test/t/query_cache.test:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_delete.cc:
Auto merged
mysql-test/r/query_cache.result:
SCCS merged
Diffstat (limited to 'mysql-test/t/query_cache.test')
-rw-r--r-- | mysql-test/t/query_cache.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/query_cache.test b/mysql-test/t/query_cache.test index 83fe1ab7d6e..88287e53b34 100644 --- a/mysql-test/t/query_cache.test +++ b/mysql-test/t/query_cache.test @@ -1307,6 +1307,25 @@ set GLOBAL query_cache_limit=default; set GLOBAL query_cache_min_res_unit=default; set GLOBAL query_cache_size=default; +# +# Bug#33756 - query cache with concurrent_insert=0 appears broken +# +FLUSH STATUS; +SET GLOBAL query_cache_size=10*1024*1024; +SET @save_concurrent_insert= @@concurrent_insert; +SET GLOBAL concurrent_insert= 0; +CREATE TABLE t1 (c1 INT NOT NULL) ENGINE=MyISAM; +INSERT INTO t1 (c1) VALUES (1), (2); +# +SHOW GLOBAL VARIABLES LIKE 'concurrent_insert'; +SHOW STATUS LIKE 'Qcache_hits'; +SELECT * FROM t1; +SELECT * FROM t1; +SHOW STATUS LIKE 'Qcache_hits'; +DROP TABLE t1; +SET GLOBAL concurrent_insert= @save_concurrent_insert; +SET GLOBAL query_cache_size= default; + --echo End of 5.0 tests # |