mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
20 lines
346 B
Text
20 lines
346 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
connection master;
|
|
connection slave;
|
|
connection slave;
|
|
stop slave;
|
|
connection master;
|
|
create table t1 (a int) engine=innodb;
|
|
connection slave;
|
|
reset slave;
|
|
start slave;
|
|
stop slave;
|
|
start slave;
|
|
select max(a) from t1;
|
|
max(a)
|
|
8000
|
|
connection master;
|
|
drop table t1;
|
|
connection slave;
|
|
include/rpl_end.inc
|