blob: dc84741694c3594e9886f432aa1eb1418efd57f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
source include/master-slave.inc;
drop table if exists t1;
create table t1 (n int);
insert into t1 values(1);
sync_slave_with_master;
stop slave;
start slave;
connection master;
insert into t1 values(2);
#let slave catch up
sync_slave_with_master;
select * from t1;
connection master;
drop table t1;
sync_slave_with_master;
|