2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
create table t1(n int auto_increment primary key, s char(10));
8
set @@global.slave_exec_mode= 'IDEMPOTENT';
9
insert into t1 values (2,'old');
10
insert into t1 values(NULL,'new');
11
insert into t1 values(NULL,'new');
12
select * from t1 order by n;
16
delete from t1 where n = 2;
19
create table t2(n int);
21
insert into t1 values(NULL,'new');
23
insert into t1 values(NULL,'new');
25
delete from t1 where n=4;
27
select * from t1 order by n;
32
set @@global.slave_exec_mode= default;