mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix connect2 test, simulated errors do not work with thread cache
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
call mtr.add_suppression("Allocation failed");
|
call mtr.add_suppression("Allocation failed");
|
||||||
SET @old_debug= @@session.debug;
|
SET @old_debug= @@session.debug;
|
||||||
set @old_thread_cache_size=@@global.thread_cache_size;
|
set @old_thread_cache_size=@@global.thread_cache_size;
|
||||||
|
set @@global.thread_cache_size=0;
|
||||||
connect con1,localhost,root,,test,,;
|
connect con1,localhost,root,,test,,;
|
||||||
select 1;
|
select 1;
|
||||||
1
|
1
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
call mtr.add_suppression("Allocation failed");
|
call mtr.add_suppression("Allocation failed");
|
||||||
SET @old_debug= @@session.debug;
|
SET @old_debug= @@session.debug;
|
||||||
set @old_thread_cache_size=@@global.thread_cache_size;
|
set @old_thread_cache_size=@@global.thread_cache_size;
|
||||||
|
set @@global.thread_cache_size=0;
|
||||||
# Test connections to the
|
# Test connections to the
|
||||||
|
|
||||||
connect(con1,localhost,root,,test,,);
|
connect(con1,localhost,root,,test,,);
|
||||||
@ -32,7 +32,6 @@ select 1;
|
|||||||
disconnect con1;
|
disconnect con1;
|
||||||
|
|
||||||
# Test connections to the extra port.
|
# Test connections to the extra port.
|
||||||
|
|
||||||
connect(con1,localhost,root,,test,$MASTER_EXTRA_PORT,);
|
connect(con1,localhost,root,,test,$MASTER_EXTRA_PORT,);
|
||||||
select 1;
|
select 1;
|
||||||
disconnect con1;
|
disconnect con1;
|
||||||
|
Reference in New Issue
Block a user