mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
a3299de2f7
Bug#319 if while a non-transactional slave is replicating a transaction possible problem only testing related: addressing reviewers' comments. mysql-test/suite/bugs/r/rpl_bug38205.result: new results. mysql-test/suite/bugs/t/rpl_bug38205.test: changing output per reviewer's offering. mysql-test/suite/rpl/r/rpl_start_stop_slave.result: new results. mysql-test/suite/rpl/t/rpl_start_stop_slave.test: refining tests for Bug #38205, Bug#319 to start slave with the necessary synchronization; changing output per reviewer's offering; removing redundant wait for stop.
40 lines
802 B
Text
40 lines
802 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table t1(n int);
|
|
stop slave;
|
|
start slave;
|
|
stop slave io_thread;
|
|
start slave io_thread;
|
|
drop table t1;
|
|
create table t1i(n int primary key) engine=innodb;
|
|
create table t2m(n int primary key) engine=myisam;
|
|
begin;
|
|
insert into t1i values (1);
|
|
insert into t1i values (2);
|
|
insert into t1i values (3);
|
|
commit;
|
|
begin;
|
|
insert into t1i values (5);
|
|
begin;
|
|
insert into t1i values (4);
|
|
insert into t2m values (1);
|
|
insert into t1i values (5);
|
|
commit;
|
|
zero
|
|
0
|
|
stop slave;
|
|
rollback;
|
|
*** sql thread is *not* running: No ***
|
|
*** the prove: the stopped slave has finished the current transaction ***
|
|
five
|
|
5
|
|
zero
|
|
0
|
|
one
|
|
1
|
|
include/start_slave.inc
|
|
drop table t1i, t2m;
|