Commit b526f434 authored by unknown's avatar unknown
Browse files

ndb - ndb_multi - reset query cache at end of test


mysql-test/r/ndb_cache_multi2.result:
  reset query cache settings on end of test
mysql-test/t/ndb_cache_multi2.test:
  reset query cache settings on end of test
parent 493911bd
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -72,3 +72,11 @@ show status like "Qcache_hits";
Variable_name	Value
Qcache_hits	0
drop table t1, t2;
set GLOBAL query_cache_size=0;
set GLOBAL ndb_cache_check_time=0;
reset query cache;
flush status;
set GLOBAL query_cache_size=0;
set GLOBAL ndb_cache_check_time=0;
reset query cache;
flush status;
+11 −1
Original line number Diff line number Diff line
@@ -68,4 +68,14 @@ show status like "Qcache_hits";

drop table t1, t2;

# Turn off and reset query cache on server1 and server2
connection server1;
set GLOBAL query_cache_size=0;
set GLOBAL ndb_cache_check_time=0;
reset query cache;
flush status;
connection server2;
set GLOBAL query_cache_size=0;
set GLOBAL ndb_cache_check_time=0;
reset query cache;
flush status;