summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_commit_after_flush.test
blob: 62c89b3aae6fc1b50e08bdee0ad1c46d4362fcc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
source include/master-slave.inc;
source include/have_innodb.inc;
create table t1 (a int) engine=innodb;
begin;
insert into t1 values(1);
flush tables with read lock;
commit;
save_master_pos;
connection slave;
sync_with_master;
# cleanup
connection master;
unlock tables;
drop table t1;
save_master_pos;
connection slave;
sync_with_master;