1
# Testcase for BUG#10456 - INSERT INTO ... SELECT violating a primary key
4
-- source include/master-slave.inc
7
create table t1 (n int not null primary key);
8
insert into t1 values (1);
9
create table t2 (n int);
10
insert into t2 values (1);
11
insert ignore into t1 select * from t2;
12
insert into t1 values (2);
13
sync_slave_with_master;
19
sync_slave_with_master;