Commit f142723e authored by unknown's avatar unknown
Browse files

Bug#24354 option "--extern" of mysql-test-run.pl does not work anymore

 - Dont require restart when using extern and there is no record of
   master being started(pid is not known) 


mysql-test/mysql-test-run.pl:
  Don't require restart when running against extern server and no
  record of master being started
parent ec71e89a
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -3867,10 +3867,18 @@ sub run_testcase_need_master_restart($)
		join(" ", @{$master->[0]->{'start_opts'}}) . "'" );
  }
  elsif( ! $master->[0]->{'pid'} )
  {
    if ( $opt_extern )
    {
      $do_restart= 0;
      mtr_verbose("No restart: using extern master");
    }
    else
    {
      $do_restart= 1;
      mtr_verbose("Restart master: master is not started");
    }
  }

  return $do_restart;
}