summaryrefslogtreecommitdiff
path: root/mysql-test/r/drop_debug.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/drop_debug.result')
-rw-r--r--mysql-test/r/drop_debug.result5
1 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/r/drop_debug.result b/mysql-test/r/drop_debug.result
index 852b3ac2163..21b5b2ea7cd 100644
--- a/mysql-test/r/drop_debug.result
+++ b/mysql-test/r/drop_debug.result
@@ -3,13 +3,12 @@
# -- Bug#43138: DROP DATABASE failure does not clean up message list.
# --
-DROP DATABASE IF EXISTS mysql_test;
-
CREATE DATABASE mysql_test;
CREATE TABLE mysql_test.t1(a INT);
CREATE TABLE mysql_test.t2(b INT);
CREATE TABLE mysql_test.t3(c INT);
+SET @save_dbug = @@debug_dbug;
SET SESSION debug_dbug= "+d,bug43138";
DROP DATABASE mysql_test;
@@ -18,7 +17,7 @@ Error 1051 Unknown table 't1'
Error 1051 Unknown table 't2'
Error 1051 Unknown table 't3'
-SET SESSION debug_dbug= "-d,bug43138";
+SET SESSION debug_dbug=@save_dbug;
# --
# -- End of Bug#43138.