summaryrefslogtreecommitdiff
path: root/mysql-test/main/init_connection_query_cache.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/init_connection_query_cache.test')
-rw-r--r--mysql-test/main/init_connection_query_cache.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/init_connection_query_cache.test b/mysql-test/main/init_connection_query_cache.test
index 4d83304163e..5a5c7dcef4b 100644
--- a/mysql-test/main/init_connection_query_cache.test
+++ b/mysql-test/main/init_connection_query_cache.test
@@ -4,6 +4,7 @@
--echo # MDEV-4520: Assertion `0' fails in Query_cache::end_of_result on
--echo # concurrent drop event and event execution
--echo #
+set @save_query_cache_size=@@query_cache_size;
set GLOBAL query_cache_size=1355776;
create user mysqltest1@localhost;
@@ -23,4 +24,4 @@ drop user mysqltest1@localhost;
drop table t1;
-set GLOBAL query_cache_size=default;
+set GLOBAL query_cache_size=@save_query_cache_size;