Commit c341ca22 authored by unknown's avatar unknown
Browse files

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


mysql-test/mysql-test-run.pl:
  Don't require restart if master is not started when running with --extern
parent 02cd4f5a
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -3819,11 +3819,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;
}