mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
13 lines
259 B
Text
13 lines
259 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
CREATE TABLE t1 (a INT) ENGINE=innodb;
|
|
begin;
|
|
insert into t1 values(1);
|
|
flush tables with read lock;
|
|
commit;
|
|
connection slave;
|
|
connection master;
|
|
unlock tables;
|
|
drop table t1;
|
|
connection slave;
|
|
include/rpl_end.inc
|