From a7abddeffa6a760ce948c2dfb007cdf3f1a369d5 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Fri, 9 Mar 2018 14:05:35 +0200 Subject: Create 'main' test directory and move 't' and 'r' there --- mysql-test/main/wait_timeout.result | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 mysql-test/main/wait_timeout.result (limited to 'mysql-test/main/wait_timeout.result') diff --git a/mysql-test/main/wait_timeout.result b/mysql-test/main/wait_timeout.result new file mode 100644 index 00000000000..8e5e5147f8b --- /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= ; +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; -- cgit v1.2.1