mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 10:57:54 +02:00
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
This commit is contained in:
parent
493911bdde
commit
b526f43411
2 changed files with 19 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue