mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
9ff59511a5
Added new big select test
19 lines
402 B
Text
19 lines
402 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
use test;
|
|
drop table if exists t1;
|
|
create table t1 (n int);
|
|
insert into t1 values(1);
|
|
connection slave;
|
|
#give slave some breathing room to get started
|
|
sleep 2;
|
|
slave stop;
|
|
slave start;
|
|
connection master;
|
|
insert into t1 values(2);
|
|
connection slave;
|
|
#let slave catch up
|
|
sleep 2;
|
|
@r/rpl000011.result select * from t1;
|
|
connection master;
|
|
drop table t1;
|