mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
16 lines
381 B
Text
16 lines
381 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
reset master;
|
|
connection master;
|
|
create table test.t1(a int, b int, unique(b));
|
|
load data infile '../../std_data/rpl_loaddata.dat' into table test.t1;
|
|
connection slave;
|
|
select count(*) from test.t1;
|
|
count(*)
|
|
2
|
|
include/show_binlog_events.inc
|
|
connection master;
|
|
drop table test.t1;
|
|
connection slave;
|
|
include/rpl_end.inc
|