mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
18 lines
337 B
Text
18 lines
337 B
Text
|
source include/master-slave.inc;
|
||
|
source include/have_innodb.inc;
|
||
|
create table t1 (a int) type=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;
|