summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/wait_timeout.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/wait_timeout.result
parentInitial commit. (diff)
downloadmariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz
mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/wait_timeout.result')
-rw-r--r--mysql-test/main/wait_timeout.result43
1 files changed, 43 insertions, 0 deletions
diff --git a/mysql-test/main/wait_timeout.result b/mysql-test/main/wait_timeout.result
new file mode 100644
index 00000000..8e5e5147
--- /dev/null
+++ b/mysql-test/main/wait_timeout.result
@@ -0,0 +1,43 @@
+SET @@global.wait_timeout= 2;
+disconnect default;
+connect wait_con,localhost,root,,test,,;
+connection wait_con;
+connect default,localhost,root,,test,,;
+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
+disconnect default;
+connection wait_con;
+connect con1,127.0.0.1,root,,test,$MASTER_MYPORT,;
+--disable_reconnect;
+SELECT 1;
+1
+1
+connection wait_con;
+disconnect wait_con;
+connection con1;
+SELECT 2;
+Got one of the listed errors
+--enable_reconnect;
+SELECT 3;
+3
+3
+SET @@global.wait_timeout= <start_value>;
+disconnect con1;
+connect default,localhost,root,,test,,;
+set global log_warnings=2;
+connect foo,localhost,root;
+set @@wait_timeout=1;
+connection default;
+FOUND 1 /Aborted.*Got timeout reading communication packets/ in mysqld.1.err
+set global log_warnings=@@log_warnings;