mirror of
https://github.com/MariaDB/server.git
synced 2025-04-26 11:49:09 +03:00
20 lines
359 B
Plaintext
20 lines
359 B
Plaintext
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;
|
|
|
|
# End of 4.1 tests
|