summaryrefslogtreecommitdiff
path: root/mysql-test/include/shutdown_mysqld.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/shutdown_mysqld.inc')
-rw-r--r--mysql-test/include/shutdown_mysqld.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/include/shutdown_mysqld.inc b/mysql-test/include/shutdown_mysqld.inc
index 74a3028946d..db0cfb82c68 100644
--- a/mysql-test/include/shutdown_mysqld.inc
+++ b/mysql-test/include/shutdown_mysqld.inc
@@ -26,7 +26,17 @@ if ($rpl_inited)
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.$_server_id.expect
--exec echo "wait" > $_expect_file_name
+# Avoid warnings from connection threads that does not have time to exit
+--disable_query_log
+set @@global.log_warnings=0;
+--enable_query_log
+
--let $server_shutdown_timeout= 60
+if ($VALGRIND_TEST)
+{
+ --let $server_shutdown_timeout= 300
+}
+
if ($shutdown_timeout)
{
--let $server_shutdown_timeout= $shutdown_timeout