1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #48918 MTR uses an un-initialized value in comparison

mysqld->{proc} not defined for an embedded server
Check only if {proc} defined
This commit is contained in:
Bjorn Munch
2009-11-26 11:34:16 +01:00
parent 22d80703ef
commit 50ab925e04

View File

@ -3893,7 +3893,7 @@ sub check_expected_crash_and_restart {
foreach my $mysqld ( mysqlds() )
{
next unless ( $mysqld->{proc} eq $proc );
next unless ( $mysqld->{proc} and $mysqld->{proc} eq $proc );
# Check if crash expected by looking at the .expect file
# in var/tmp