2009-10-22 21:32:12 +02:00
|
|
|
#
|
|
|
|
# DROP-related tests which execution requires debug server.
|
|
|
|
#
|
|
|
|
--source include/have_debug.inc
|
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
--echo
|
|
|
|
--echo # --
|
|
|
|
--echo # -- Bug#43138: DROP DATABASE failure does not clean up message list.
|
|
|
|
--echo # --
|
|
|
|
--echo
|
|
|
|
|
|
|
|
--disable_warnings
|
|
|
|
DROP DATABASE IF EXISTS mysql_test;
|
|
|
|
--enable_warnings
|
|
|
|
|
|
|
|
--echo
|
|
|
|
CREATE DATABASE mysql_test;
|
|
|
|
CREATE TABLE mysql_test.t1(a INT);
|
2009-12-08 08:53:40 +01:00
|
|
|
CREATE TABLE mysql_test.t2(b INT);
|
|
|
|
CREATE TABLE mysql_test.t3(c INT);
|
2009-10-22 21:32:12 +02:00
|
|
|
|
|
|
|
--echo
|
2011-12-15 22:07:58 +01:00
|
|
|
SET SESSION debug_dbug= "+d,bug43138";
|
2009-10-22 21:32:12 +02:00
|
|
|
|
|
|
|
--echo
|
2009-12-08 08:53:40 +01:00
|
|
|
--sorted_result
|
2009-10-22 21:32:12 +02:00
|
|
|
DROP DATABASE mysql_test;
|
|
|
|
|
|
|
|
--echo
|
2011-12-15 22:07:58 +01:00
|
|
|
SET SESSION debug_dbug= "-d,bug43138";
|
2009-10-22 21:32:12 +02:00
|
|
|
|
|
|
|
--echo
|
|
|
|
--echo # --
|
|
|
|
--echo # -- End of Bug#43138.
|
|
|
|
--echo # --
|
|
|
|
|
|
|
|
###########################################################################
|