mirror of
https://github.com/MariaDB/server.git
synced 2025-05-16 03:24:47 +03:00

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
16 lines
351 B
Plaintext
16 lines
351 B
Plaintext
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;
|