summaryrefslogtreecommitdiff
path: root/mysql-test/r/connect2.result
blob: eecb645516270aebbf6b01158d6f4490a3b0b433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
call mtr.add_suppression("Allocation failed");
SET @old_debug= @@session.debug;
set @old_thread_cache_size=@@global.thread_cache_size;
select 1;
1
1
set global debug_dbug='+d,simulate_failed_connection_1';
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Got one of the listed errors
set global debug_dbug=@old_debug;
set global debug_dbug='+d,simulate_failed_connection_2';
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Got one of the listed errors
set global debug_dbug=@old_debug;
select 1;
1
1
select 1;
1
1
set global debug_dbug='+d,simulate_failed_connection_1';
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Got one of the listed errors
set global debug_dbug=@old_debug;
set global debug_dbug='+d,simulate_failed_connection_2';
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Got one of the listed errors
set global debug_dbug=@old_debug;
select 1;
1
1
set @@global.thread_cache_size=2;
select 1;
1
1
select 1;
1
1
set global debug_dbug='+d,simulate_failed_connection_2';
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Got one of the listed errors
show status like "Threads_connected";
Variable_name	Value
Threads_connected	1
set global debug_dbug=@old_debug;
set global thread_cache_size=@old_thread_cache_size;