mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -3820,10 +3820,17 @@ sub run_testcase_need_master_restart($)
|
|||||||
}
|
}
|
||||||
elsif( ! $master->[0]->{'pid'} )
|
elsif( ! $master->[0]->{'pid'} )
|
||||||
{
|
{
|
||||||
$do_restart= 1;
|
if ( $opt_extern )
|
||||||
mtr_verbose("Restart master: master is not started");
|
{
|
||||||
|
$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;
|
return $do_restart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user