mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
18 lines
384 B
Text
18 lines
384 B
Text
|
stop slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
reset master;
|
||
|
reset slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
start slave;
|
||
|
create table t1 (n int not null primary key);
|
||
|
insert into t1 values (1);
|
||
|
create table t2 (n int);
|
||
|
insert into t2 values (1);
|
||
|
insert ignore into t1 select * from t2;
|
||
|
insert into t1 values (2);
|
||
|
select * from t1;
|
||
|
n
|
||
|
1
|
||
|
2
|
||
|
drop table t1,t2;
|