summaryrefslogtreecommitdiff
path: root/mysql-test/t/mdev375.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/mdev375.test')
-rw-r--r--mysql-test/t/mdev375.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/mdev375.test b/mysql-test/t/mdev375.test
index 759f7bd31f0..9e35190b927 100644
--- a/mysql-test/t/mdev375.test
+++ b/mysql-test/t/mdev375.test
@@ -3,6 +3,7 @@
#
--source include/not_embedded.inc
+set @save_log_warnings=@@log_warnings, @save_max_connections=@@max_connections;
SET GLOBAL log_warnings=4;
SET GLOBAL max_connections=10;
@@ -28,5 +29,5 @@ SELECT 2;
SELECT 0;
show status like "Threads_connected";
-SET GLOBAL log_warnings=default;
-SET GLOBAL max_connections=default;
+SET GLOBAL log_warnings=@save_log_warnings;
+SET GLOBAL max_connections=@save_max_connections;