mariadb/mysql-test/t/drop_debug.test
Sergei Golubchik 1efdd5a572 rename debug variable to debug_dbug, to make test pass in release builds
(and to follow the naming conventons).
keep old debug variable, but mark it as deprecated.
2011-12-15 22:07:58 +01:00

38 lines
787 B
Text

#
# 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);
CREATE TABLE mysql_test.t2(b INT);
CREATE TABLE mysql_test.t3(c INT);
--echo
SET SESSION debug_dbug= "+d,bug43138";
--echo
--sorted_result
DROP DATABASE mysql_test;
--echo
SET SESSION debug_dbug= "-d,bug43138";
--echo
--echo # --
--echo # -- End of Bug#43138.
--echo # --
###########################################################################