summaryrefslogtreecommitdiff
path: root/mysql-test/main/sp-code.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/sp-code.test')
-rw-r--r--mysql-test/main/sp-code.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/sp-code.test b/mysql-test/main/sp-code.test
index f8c1b4f0a92..e03ce5048fb 100644
--- a/mysql-test/main/sp-code.test
+++ b/mysql-test/main/sp-code.test
@@ -696,9 +696,10 @@ END|
delimiter ;|
+SET @save_dbug = @@debug_dbug;
SET SESSION debug_dbug="+d,bug23032_emit_warning";
CALL p1();
-SET SESSION debug_dbug="-d,bug23032_emit_warning";
+SET SESSION debug_dbug=@save_dbug;
DROP PROCEDURE p1;
DROP TABLE t1;