mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Only use safe_kill if SAFE_WINPID is defined
This commit is contained in:
@ -313,7 +313,7 @@ sub start_kill {
|
|||||||
my $ret= 1;
|
my $ret= 1;
|
||||||
|
|
||||||
my $pid;
|
my $pid;
|
||||||
if (IS_WINDOWS)
|
if (IS_WINDOWS and defined $self->{SAFE_WINPID})
|
||||||
{
|
{
|
||||||
die "INTERNAL ERROR: no safe_kill" unless defined $safe_kill;
|
die "INTERNAL ERROR: no safe_kill" unless defined $safe_kill;
|
||||||
die "INTERNAL ERROR: no winpid" unless defined $self->{SAFE_WINPID};
|
die "INTERNAL ERROR: no winpid" unless defined $self->{SAFE_WINPID};
|
||||||
|
Reference in New Issue
Block a user