Skip to content

Commit fe1acd6

Browse files
author
Sneha Modi
committed
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.
1 parent 9c0434a commit fe1acd6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mysql-test/r/query_cache.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ use db3;
16151615
create table t1(c1 int) engine=myisam;
16161616
use db1;
16171617
insert into t1(c1) values (1);
1618-
use mysql;
1618+
use test;
16191619
select * from db1.t1;
16201620
c1
16211621
1
@@ -1661,7 +1661,7 @@ c1
16611661
2
16621662
SHOW STATUS LIKE 'Qcache_hits';
16631663
Variable_name Value
1664-
Qcache_hits 0
1664+
Qcache_hits 1
16651665
DROP TABLE t1;
16661666
SET GLOBAL concurrent_insert= @save_concurrent_insert;
16671667
SET GLOBAL query_cache_size= default;
@@ -1691,7 +1691,7 @@ a
16911691
COMMIT;
16921692
SHOW STATUS LIKE 'Qcache_queries_in_cache';
16931693
Variable_name Value
1694-
Qcache_queries_in_cache 0
1694+
Qcache_queries_in_cache 2
16951695
SHOW STATUS LIKE "Qcache_hits";
16961696
Variable_name Value
16971697
Qcache_hits 0
@@ -1713,7 +1713,7 @@ a
17131713
COMMIT;
17141714
SHOW STATUS LIKE "Qcache_hits";
17151715
Variable_name Value
1716-
Qcache_hits 0
1716+
Qcache_hits 2
17171717
DROP TABLE t1;
17181718
SET GLOBAL query_cache_size= default;
17191719
End of 5.0 tests

mysql-test/t/query_cache.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ show status like 'Qcache_free_blocks';
12241224
create table t1(c1 int) engine=myisam;
12251225
use db1;
12261226
insert into t1(c1) values (1);
1227-
use mysql;
1227+
use test;
12281228
select * from db1.t1;
12291229
select c1+1 from db1.t1;
12301230
select * from db3.t1;

0 commit comments

Comments
 (0)