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

parent 770a4f7c
...@@ -3819,11 +3819,18 @@ sub run_testcase_need_master_restart($) ...@@ -3819,11 +3819,18 @@ sub run_testcase_need_master_restart($)
join(" ", @{$master->[0]->{'start_opts'}}) . "'" ); join(" ", @{$master->[0]->{'start_opts'}}) . "'" );
} }
elsif( ! $master->[0]->{'pid'} ) elsif( ! $master->[0]->{'pid'} )
{
if ( $opt_extern )
{
$do_restart= 0;
mtr_verbose("No restart: using extern master");
}
else
{ {
$do_restart= 1; $do_restart= 1;
mtr_verbose("Restart master: master is not started"); mtr_verbose("Restart master: master is not started");
} }
}
return $do_restart; return $do_restart;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment