summaryrefslogtreecommitdiff
path: root/mysql-test/suite/engines/funcs/t/ix_drop_error.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/engines/funcs/t/ix_drop_error.test')
-rw-r--r--mysql-test/suite/engines/funcs/t/ix_drop_error.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/engines/funcs/t/ix_drop_error.test b/mysql-test/suite/engines/funcs/t/ix_drop_error.test
new file mode 100644
index 00000000000..bd51c288eb8
--- /dev/null
+++ b/mysql-test/suite/engines/funcs/t/ix_drop_error.test
@@ -0,0 +1,8 @@
+--disable_warnings
+DROP TABLE IF EXISTS t9;
+--enable_warnings
+CREATE TABLE t9(c1 INTEGER NOT NULL);
+--error 1091
+DROP INDEX i1 ON t9;
+DROP TABLE t9; SHOW TABLES;
+