mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
f7acf09d9c
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt to have it sit in 3.23 tree for now since it will eventually be backported to 3.23 anyway
15 lines
351 B
Text
15 lines
351 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
drop table if exists t1;
|
|
create table t1 (n int not null primary key);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
insert into t1 values (1);
|
|
connection master;
|
|
insert into t1 values (1);
|
|
insert into t1 values (2),(3);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
select * from t1;
|