blob: c4b120d31b029cbf7c2cf6024ca3b867e33050ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
source include/master-slave.inc;
connection master;
drop table if exists t1;
create table t1(n int primary key);
!insert into t1 values (1),(2),(2);
insert into t1 values (3);
save_master_pos;
connection slave;
sync_with_master;
select * from t1;
connection master;
drop table t1;
save_master_pos;
connection slave;
sync_with_master;
|