summaryrefslogtreecommitdiff
path: root/mysql-test/main/foreign_key.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/foreign_key.test')
-rw-r--r--mysql-test/main/foreign_key.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/main/foreign_key.test b/mysql-test/main/foreign_key.test
index 17c93332cb3..1f1d11a8310 100644
--- a/mysql-test/main/foreign_key.test
+++ b/mysql-test/main/foreign_key.test
@@ -8,6 +8,9 @@
drop table if exists t1,t2;
--enable_warnings
+create table t2(c int);
+create table t3(c int, d int);
+
create table t1 (
a int not null references t2,
b int not null references t2 (c),
@@ -22,7 +25,7 @@ create table t1 (
create index a on t1 (a);
create unique index b on t1 (a,b);
-drop table t1;
+drop table t1, t2, t3;
# End of 4.1 tests