summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisampack.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 09:32:54 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 09:32:54 +0100
commit1b468ca675c4b978f067a443e6cd0b3c14db68cc (patch)
tree949a17662b32c95de9466071daa8e74f9d4fa8ad /mysql-test/r/myisampack.result
parentf17831fa745cbd47952c6bf7d4a8eeb9195e6b6c (diff)
downloadmariadb-git-1b468ca675c4b978f067a443e6cd0b3c14db68cc.tar.gz
MDEV-5815 MySQL BUG#11751736: DROP DATABASE STATEMENT SHOULD REMOVE .OLD SUFFIX FROM DATABASE DIRECTORY
Delete .OLD and .TMD files when a MyISAM table is dropped. Same for Aria. sql/sql_db.cc: dead code - *.TMD cannot be deleted from here.
Diffstat (limited to 'mysql-test/r/myisampack.result')
-rw-r--r--mysql-test/r/myisampack.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/myisampack.result b/mysql-test/r/myisampack.result
index 2cefa385048..a2ce12bffc1 100644
--- a/mysql-test/r/myisampack.result
+++ b/mysql-test/r/myisampack.result
@@ -150,3 +150,10 @@ CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
DROP TABLE t1;
+#
+# BUG#11751736: DROP DATABASE STATEMENT SHOULD REMOVE .OLD SUFFIX FROM
+# DATABASE DIRECTORY
+#
+CREATE DATABASE db1;
+CREATE TABLE db1.t1(c1 INT) ENGINE=MyISAM;
+DROP DATABASE db1;