summaryrefslogtreecommitdiff
path: root/mysql-test/r/wait_timeout.result
blob: adb7d6bafd95cbb4c37b3a018c97d221a1f8ad18 (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
SET @@global.wait_timeout= 2;
disconnect default;
connection wait_con;
connection default;
--disable_reconnect;
SELECT 1;
1
1
connection wait_con;
connection default;
SELECT 2;
Got one of the listed errors
--enable_reconnect;
SELECT 3;
3
3
disconnection default;
connection wait_con;
connection con1;
--disable_reconnect;
SELECT 1;
1
1
connection wait_con;
connection con1;
SELECT 2;
Got one of the listed errors
--enable_reconnect;
SELECT 3;
3
3
SET @@global.wait_timeout= <start_value>;
disconnection con1;