mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
2d1082308b
Added timeouts to replication tests to handle concurrent inserts
16 lines
400 B
Text
16 lines
400 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
drop table if exists t1;
|
|
create table t1(n int primary key);
|
|
!insert into t1 values (1),(2),(2);
|
|
insert into t1 values (3);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
sleep 1;
|
|
@r/rpl000003.result select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|