Commit b61c2e0b authored by Sneha Modi's avatar Sneha Modi

Bug#11754170:45729: TEST CASE FOR BUG#28211 IS DISABLED IN QUERY_CACHE.TEST

      
      A patch for this bug has already been pushed. A minor change is made here.
      The database to be used after re-enabling the disabled code is 'TEST'.
      But instead, 'MYSQL' was being used. 
      This is the minor change that is being made here.
parent 4c7ece26
...@@ -1615,7 +1615,7 @@ use db3; ...@@ -1615,7 +1615,7 @@ use db3;
create table t1(c1 int) engine=myisam; create table t1(c1 int) engine=myisam;
use db1; use db1;
insert into t1(c1) values (1); insert into t1(c1) values (1);
use mysql; use test;
select * from db1.t1; select * from db1.t1;
c1 c1
1 1
...@@ -1661,7 +1661,7 @@ c1 ...@@ -1661,7 +1661,7 @@ c1
2 2
SHOW STATUS LIKE 'Qcache_hits'; SHOW STATUS LIKE 'Qcache_hits';
Variable_name Value Variable_name Value
Qcache_hits 0 Qcache_hits 1
DROP TABLE t1; DROP TABLE t1;
SET GLOBAL concurrent_insert= @save_concurrent_insert; SET GLOBAL concurrent_insert= @save_concurrent_insert;
SET GLOBAL query_cache_size= default; SET GLOBAL query_cache_size= default;
...@@ -1691,7 +1691,7 @@ a ...@@ -1691,7 +1691,7 @@ a
COMMIT; COMMIT;
SHOW STATUS LIKE 'Qcache_queries_in_cache'; SHOW STATUS LIKE 'Qcache_queries_in_cache';
Variable_name Value Variable_name Value
Qcache_queries_in_cache 0 Qcache_queries_in_cache 2
SHOW STATUS LIKE "Qcache_hits"; SHOW STATUS LIKE "Qcache_hits";
Variable_name Value Variable_name Value
Qcache_hits 0 Qcache_hits 0
...@@ -1713,7 +1713,7 @@ a ...@@ -1713,7 +1713,7 @@ a
COMMIT; COMMIT;
SHOW STATUS LIKE "Qcache_hits"; SHOW STATUS LIKE "Qcache_hits";
Variable_name Value Variable_name Value
Qcache_hits 0 Qcache_hits 2
DROP TABLE t1; DROP TABLE t1;
SET GLOBAL query_cache_size= default; SET GLOBAL query_cache_size= default;
End of 5.0 tests End of 5.0 tests
......
...@@ -1224,7 +1224,7 @@ show status like 'Qcache_free_blocks'; ...@@ -1224,7 +1224,7 @@ show status like 'Qcache_free_blocks';
create table t1(c1 int) engine=myisam; create table t1(c1 int) engine=myisam;
use db1; use db1;
insert into t1(c1) values (1); insert into t1(c1) values (1);
use mysql; use test;
select * from db1.t1; select * from db1.t1;
select c1+1 from db1.t1; select c1+1 from db1.t1;
select * from db3.t1; select * from db3.t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment