mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr: include restart_opts in --verbose-restart
This commit is contained in:
@ -5294,12 +5294,12 @@ sub server_need_restart {
|
|||||||
exists $server->{'restart_opts'})
|
exists $server->{'restart_opts'})
|
||||||
{
|
{
|
||||||
my $use_dynamic_option_switch= 0;
|
my $use_dynamic_option_switch= 0;
|
||||||
delete $server->{'restart_opts'};
|
my $restart_opts = delete $server->{'restart_opts'} || [];
|
||||||
if (!$use_dynamic_option_switch)
|
if (!$use_dynamic_option_switch)
|
||||||
{
|
{
|
||||||
mtr_verbose_restart($server, "running with different options '" .
|
mtr_verbose_restart($server, "running with different options '" .
|
||||||
join(" ", @{$extra_opts}) . "' != '" .
|
join(" ", @{$extra_opts}) . "' != '" .
|
||||||
join(" ", @{$started_opts}) . "'" );
|
join(" ", @{$started_opts}, @{$restart_opts}) . "'" );
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user