mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
a26d3f9963
------------------------------------------------------------ revno: 2617.43.3 committer: Davi Arnaut <Davi.Arnaut@Sun.COM> branch nick: 40188-6.0 timestamp: Thu 2009-05-07 13:15:54 +0200 message: Sort results as the file list of the database directory is not sorted (MY_DONT_SORT). (This is a follow-up fix for WL#4284). mysql-test/r/drop_debug.result: Update test case result. mysql-test/t/drop_debug.test: Sort warnings.
38 lines
779 B
Text
38 lines
779 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 = "+d,bug43138";
|
|
|
|
--echo
|
|
--sorted_result
|
|
DROP DATABASE mysql_test;
|
|
|
|
--echo
|
|
SET SESSION DEBUG = "-d,bug43138";
|
|
|
|
--echo
|
|
--echo # --
|
|
--echo # -- End of Bug#43138.
|
|
--echo # --
|
|
|
|
###########################################################################
|