mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
d058adf818
added a new test case that relies on --result-file
23 lines
520 B
Text
23 lines
520 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
show master status;
|
|
connection slave;
|
|
show slave status;
|
|
change master to master_log_pos=73;
|
|
sleep 1;
|
|
slave stop;
|
|
change master to master_log_pos=73;
|
|
show slave status;
|
|
slave start;
|
|
show slave status;
|
|
change master to master_log_pos=173;
|
|
show slave status;
|
|
connection master;
|
|
show master status;
|
|
drop table if exists foo;
|
|
create table foo (n int);
|
|
insert into foo values (1),(2),(3);
|
|
connection slave;
|
|
change master to master_log_pos=73;
|
|
sleep 0.3;
|
|
select * from foo;
|