mirror of
https://github.com/MariaDB/server.git
synced 2025-08-26 01:44:06 +03:00
slave master.info FILE -> IO_CACHE
send_file() is more stack-friendly - changed large static buffer to alloc_root() fixed my_b_seek() to work with WRITE_CACHE test case to make sure the slave starts correctly after being stopped truncated words file so the replication tests will take less time
This commit is contained in:
18
mysql-test/t/3.23/rpl000011.test
Normal file
18
mysql-test/t/3.23/rpl000011.test
Normal file
@@ -0,0 +1,18 @@
|
||||
source t/include/master-slave.inc;
|
||||
connection master;
|
||||
use test;
|
||||
drop table if exists foo;
|
||||
create table foo (n int);
|
||||
insert into foo values(1);
|
||||
connection slave;
|
||||
#give slave some breathing room to get started
|
||||
sleep 1;
|
||||
slave stop;
|
||||
slave start;
|
||||
connection master;
|
||||
insert into foo values(2);
|
||||
connection slave;
|
||||
#let slave catch up
|
||||
sleep 1;
|
||||
@r/3.23/rpl000011.result select * from foo;
|
||||
|
Reference in New Issue
Block a user