mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixing failing test case.
mysql-test/suite/rpl/r/rpl_init_slave.result: Result change. mysql-test/suite/rpl/t/rpl_init_slave.test: Starting and stopping slave to make sure that the init_slave variable is executed.
This commit is contained in:
@ -4,6 +4,8 @@ reset master;
|
|||||||
reset slave;
|
reset slave;
|
||||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
start slave;
|
start slave;
|
||||||
|
stop slave;
|
||||||
|
start slave;
|
||||||
show variables like 'init_slave';
|
show variables like 'init_slave';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
init_slave set global max_connections=500
|
init_slave set global max_connections=500
|
||||||
|
@ -4,6 +4,13 @@ source include/master-slave.inc;
|
|||||||
# Test of init_slave variable
|
# Test of init_slave variable
|
||||||
#
|
#
|
||||||
|
|
||||||
|
connection slave;
|
||||||
|
stop slave;
|
||||||
|
source include/wait_for_slave_to_stop.inc;
|
||||||
|
start slave;
|
||||||
|
source include/wait_for_slave_to_start.inc;
|
||||||
|
|
||||||
|
connection master;
|
||||||
save_master_pos;
|
save_master_pos;
|
||||||
connection slave;
|
connection slave;
|
||||||
show variables like 'init_slave';
|
show variables like 'init_slave';
|
||||||
|
Reference in New Issue
Block a user