summaryrefslogtreecommitdiff
path: root/mysql-test/t/drop.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-10-27 00:04:26 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-10-27 00:04:26 +0400
commit26b87c332ff78a7aca04930ad86fbf7acc793222 (patch)
treea151f7a3587e30c9824c11315939fed1c2cec10c /mysql-test/t/drop.test
parent22490a0d709d0c53da94799accb038bf270ed411 (diff)
downloadmariadb-git-26b87c332ff78a7aca04930ad86fbf7acc793222.tar.gz
MDEV-10846 Running mysqldump backup twice returns error: Table
'mysql.proc' doesn't exist. The mysql_rm_db() doesn't seem to expect the 'mysql' database to be deleted. Checks for that added. Also fixed the bug MDEV-11105 Table named 'db' has weird side effect. The db.opt file now removed separately.
Diffstat (limited to 'mysql-test/t/drop.test')
-rw-r--r--mysql-test/t/drop.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/drop.test b/mysql-test/t/drop.test
index d9784bc819a..a3e96953bac 100644
--- a/mysql-test/t/drop.test
+++ b/mysql-test/t/drop.test
@@ -313,3 +313,12 @@ INSERT INTO table1 VALUES (1);
DROP TABLE table1,table2;
--echo # End BUG#34750
+
+--echo #
+--echo # MDEV-11105 Table named 'db' has weird side effect.
+--echo #
+
+CREATE DATABASE mysqltest;
+CREATE TABLE mysqltest.db(id INT);
+DROP DATABASE mysqltest;
+