Skip to content

Commit

Permalink
Fix connect2 test, simulated errors do not work with thread cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Apr 28, 2016
1 parent 6345cd4 commit 8b94aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions mysql-test/r/connect2.result
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions mysql-test/t/connect2.test
Original file line number Diff line number Diff line change
Expand Up @@ -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,,);
Expand All @@ -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;
Expand Down

0 comments on commit 8b94aec

Please sign in to comment.