From 940c3ef6d6356902faec6bf1bae3aa43f5899bf9 Mon Sep 17 00:00:00 2001 From: "mkindahl@dl145h.mysql.com" <> Date: Fri, 11 Jan 2008 18:09:17 +0100 Subject: [PATCH] Fixing failing test case. --- mysql-test/suite/rpl/r/rpl_init_slave.result | 2 ++ mysql-test/suite/rpl/t/rpl_init_slave.test | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/mysql-test/suite/rpl/r/rpl_init_slave.result b/mysql-test/suite/rpl/r/rpl_init_slave.result index 740c918976c..5c96293073c 100644 --- a/mysql-test/suite/rpl/r/rpl_init_slave.result +++ b/mysql-test/suite/rpl/r/rpl_init_slave.result @@ -4,6 +4,8 @@ reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; +stop slave; +start slave; show variables like 'init_slave'; Variable_name Value init_slave set global max_connections=500 diff --git a/mysql-test/suite/rpl/t/rpl_init_slave.test b/mysql-test/suite/rpl/t/rpl_init_slave.test index 6125f0a7c45..72ba60530b1 100644 --- a/mysql-test/suite/rpl/t/rpl_init_slave.test +++ b/mysql-test/suite/rpl/t/rpl_init_slave.test @@ -4,6 +4,13 @@ source include/master-slave.inc; # 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; connection slave; show variables like 'init_slave';