summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql-test/r/connect2.result1
-rw-r--r--mysql-test/t/connect2.test3
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/connect2.result b/mysql-test/r/connect2.result
index b68f7ae7c43..5430626a533 100644
--- a/mysql-test/r/connect2.result
+++ b/mysql-test/r/connect2.result
@@ -1,6 +1,7 @@
call mtr.add_suppression("Allocation failed");
SET @old_debug= @@session.debug;
set @old_thread_cache_size=@@global.thread_cache_size;
+set @@global.thread_cache_size=0;
connect con1,localhost,root,,test,,;
select 1;
1
diff --git a/mysql-test/t/connect2.test b/mysql-test/t/connect2.test
index b4614a65a91..9d2a438aa0a 100644
--- a/mysql-test/t/connect2.test
+++ b/mysql-test/t/connect2.test
@@ -7,7 +7,7 @@
call mtr.add_suppression("Allocation failed");
SET @old_debug= @@session.debug;
set @old_thread_cache_size=@@global.thread_cache_size;
-
+set @@global.thread_cache_size=0;
# Test connections to the
connect(con1,localhost,root,,test,,);
@@ -32,7 +32,6 @@ select 1;
disconnect con1;
# Test connections to the extra port.
-
connect(con1,localhost,root,,test,$MASTER_EXTRA_PORT,);
select 1;
disconnect con1;