summaryrefslogtreecommitdiff
path: root/mysql-test/r/drop_debug.result
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-22 23:32:12 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-22 23:32:12 +0400
commitf3d58bae2011dc043d75268a98e65731da622603 (patch)
treee54848c0673067be83d91908e11c4e470883e2f9 /mysql-test/r/drop_debug.result
parentf8ec90270ba43cf62d685fd2a4c747a0bb4a669b (diff)
downloadmariadb-git-f3d58bae2011dc043d75268a98e65731da622603.tar.gz
Adding forgotten files for test case for Bug#43138.
Diffstat (limited to 'mysql-test/r/drop_debug.result')
-rw-r--r--mysql-test/r/drop_debug.result25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/r/drop_debug.result b/mysql-test/r/drop_debug.result
new file mode 100644
index 00000000000..5fa8b8cb3de
--- /dev/null
+++ b/mysql-test/r/drop_debug.result
@@ -0,0 +1,25 @@
+
+# --
+# -- 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 SESSION DEBUG = "+d,bug43138";
+
+DROP DATABASE mysql_test;
+Warnings:
+Error 1051 Unknown table 't3'
+Error 1051 Unknown table 't2'
+Error 1051 Unknown table 't1'
+
+SET SESSION DEBUG = "-d,bug43138";
+
+# --
+# -- End of Bug#43138.
+# --