rpl_insert_id.test, rpl_insert_id.result:

  Change tests so that tables are dropped in an order respecting the FOREIGN KEY constraints
parent 77d60aa6
...@@ -39,8 +39,8 @@ select * from t2; ...@@ -39,8 +39,8 @@ select * from t2;
b c b c
5 0 5 0
6 11 6 11
drop table t1;
drop table t2; drop table t2;
drop table t1;
create table t1(a int auto_increment, key(a)); create table t1(a int auto_increment, key(a));
create table t2(b int auto_increment, c int, key(b)); create table t2(b int auto_increment, c int, key(b));
insert into t1 values (10); insert into t1 values (10);
......
...@@ -42,8 +42,8 @@ connection master; ...@@ -42,8 +42,8 @@ connection master;
# check if INSERT SELECT in auto_increment is well replicated (bug #490) # check if INSERT SELECT in auto_increment is well replicated (bug #490)
drop table t1;
drop table t2; drop table t2;
drop table t1;
create table t1(a int auto_increment, key(a)); create table t1(a int auto_increment, key(a));
create table t2(b int auto_increment, c int, key(b)); create table t2(b int auto_increment, c int, key(b));
insert into t1 values (10); insert into t1 values (10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment