Changed main_query_cache_merge to use flush global status

This commit is contained in:
Monty 2024-07-06 18:14:07 +03:00
parent 29d9467641
commit 6e4f95a086
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ set @save_query_cache_type=@@global.query_cache_type;
SET GLOBAL query_cache_type=ON;
SET LOCAL query_cache_type=ON;
SET @@global.query_cache_size=1355776;
flush status;
flush global status;
select count(*) from t00;
count(*)
514

View file

@ -18,7 +18,7 @@ SET @@global.query_cache_size=1355776;
# more then 255 (257) merged tables test
#
flush status;
flush global status;
disable_query_log;
--disable_warnings
let $1 = 257;