summaryrefslogtreecommitdiff
path: root/mysql-test/t/wait_timeout.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/wait_timeout.test')
-rw-r--r--mysql-test/t/wait_timeout.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/wait_timeout.test b/mysql-test/t/wait_timeout.test
index 9b9813f9655..093f69f0143 100644
--- a/mysql-test/t/wait_timeout.test
+++ b/mysql-test/t/wait_timeout.test
@@ -2,7 +2,7 @@
-- source include/not_embedded.inc
#
-# Bug #8731: wait_timeout does not work on Mac OS X
+# Bug#8731 wait_timeout does not work on Mac OS X
#
@@ -87,6 +87,7 @@ while (!`select @aborted_clients`)
}
}
--enable_query_log
+disconnect wait_con;
connection con1;
# When the connection is closed in this way, the error code should
@@ -97,3 +98,5 @@ select 2;
--enable_reconnect
select 3;
disconnect con1;
+# The last connect is to keep tools checking the current test happy.
+connect (default,localhost,root,,test,,);