summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/t/dropdb.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/dropdb.test')
-rw-r--r--mysql-test/suite/innodb/t/dropdb.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/dropdb.test b/mysql-test/suite/innodb/t/dropdb.test
new file mode 100644
index 00000000..7f5ac809
--- /dev/null
+++ b/mysql-test/suite/innodb/t/dropdb.test
@@ -0,0 +1,12 @@
+--source include/have_innodb.inc
+
+--echo #
+--echo # Bug #19929435 DROP DATABASE HANGS WITH MALFORMED TABLE
+--echo #
+
+set session default_storage_engine=innodb;
+create database `b`;
+use `b`;
+--error ER_WRONG_TABLE_NAME
+create table `#mysql50#q.q` select 1;
+drop database `b`;