mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
17 lines
339 B
Text
17 lines
339 B
Text
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;
|