summaryrefslogtreecommitdiff
path: root/mysql-test/main/myisam_recover.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/myisam_recover.test')
-rw-r--r--mysql-test/main/myisam_recover.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/myisam_recover.test b/mysql-test/main/myisam_recover.test
index 86a4d16d0f9..316be56609b 100644
--- a/mysql-test/main/myisam_recover.test
+++ b/mysql-test/main/myisam_recover.test
@@ -23,6 +23,7 @@ call mtr.add_suppression("Got an error from thread_id=.*ha_myisam.cc:");
call mtr.add_suppression("MySQL thread id .*, query id .* localhost.*root Checking table");
call mtr.add_suppression(" '\..test.t1'");
+set @save_table_open_cache=@@table_open_cache;
set global table_open_cache=256;
set global table_definition_cache=400;
--disable_warnings
@@ -104,7 +105,7 @@ prepare stmt from @drop_table_stmt;
execute stmt;
deallocate prepare stmt;
set @@global.table_definition_cache=default;
-set @@global.table_open_cache=default;
+set @@global.table_open_cache=@save_table_open_cache;
disconnect con1;
connection default;
--enable_ps_protocol