diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-01-28 15:42:20 -0200 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-01-28 15:42:20 -0200 |
commit | a931ac090dd64bfac6b061b92fbd36d108aff62b (patch) | |
tree | dfa2997a48bcd13f7d884e48ab645cc6c68eed04 | |
parent | 5e84d00a2557854a4e54fa61b519c2ff27c54843 (diff) | |
parent | aa0641dcf6da9d5ecf70d9963a61b2deac81b0b8 (diff) | |
download | mariadb-git-a931ac090dd64bfac6b061b92fbd36d108aff62b.tar.gz |
Merge from 5.0-bugteam
-rw-r--r-- | mysql-test/r/query_cache_notembedded.result | 16 | ||||
-rw-r--r-- | mysql-test/t/query_cache_notembedded.test | 29 |
2 files changed, 0 insertions, 45 deletions
diff --git a/mysql-test/r/query_cache_notembedded.result b/mysql-test/r/query_cache_notembedded.result index b236320a6dd..ec78c2267d2 100644 --- a/mysql-test/r/query_cache_notembedded.result +++ b/mysql-test/r/query_cache_notembedded.result @@ -346,22 +346,6 @@ id drop table t1; drop function f1; set GLOBAL query_cache_size=0; -DROP TABLE IF EXISTS t1; -FLUSH STATUS; -SET GLOBAL query_cache_size=1048576; -CREATE TABLE t1 (a INT); -INSERT INTO t1 VALUES (1),(2),(3),(4),(5); -SHOW STATUS LIKE 'Qcache_queries_in_cache'; -Variable_name Value -Qcache_queries_in_cache 0 -LOCK TABLES t1 WRITE; -SELECT * FROM t1; -UNLOCK TABLES; -SHOW STATUS LIKE 'Qcache_queries_in_cache'; -Variable_name Value -Qcache_queries_in_cache 0 -DROP TABLE t1; -SET GLOBAL query_cache_size= default; SET GLOBAL log_bin_trust_function_creators = 0; DROP DATABASE IF EXISTS bug30269; FLUSH STATUS; diff --git a/mysql-test/t/query_cache_notembedded.test b/mysql-test/t/query_cache_notembedded.test index 967b15d3d95..20f02815e59 100644 --- a/mysql-test/t/query_cache_notembedded.test +++ b/mysql-test/t/query_cache_notembedded.test @@ -225,35 +225,6 @@ connection default; set GLOBAL query_cache_size=0; -# -# Bug#40264: Aborted cached query causes query to hang indefinitely on next cache hit -# - ---disable_warnings -DROP TABLE IF EXISTS t1; ---enable_warnings - -FLUSH STATUS; -SET GLOBAL query_cache_size=1048576; -CREATE TABLE t1 (a INT); -INSERT INTO t1 VALUES (1),(2),(3),(4),(5); -SHOW STATUS LIKE 'Qcache_queries_in_cache'; -LOCK TABLES t1 WRITE; -connect(con1,localhost,root,,); ---send SELECT * FROM t1 -connection default; -let $show_type= open tables where `table`='t1' and in_use=2; -let $show_pattern= '%t1%2%'; ---source include/wait_show_pattern.inc -dirty_close con1; -UNLOCK TABLES; -let $show_type= open tables where `table`='t1' and in_use=0; -let $show_pattern= '%t1%0%'; ---source include/wait_show_pattern.inc -SHOW STATUS LIKE 'Qcache_queries_in_cache'; -DROP TABLE t1; -SET GLOBAL query_cache_size= default; - # End of 5.0 tests SET GLOBAL log_bin_trust_function_creators = 0; |