Commit 15d53900 authored by Bjorn Munch's avatar Bjorn Munch

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

mysqld->{proc} not defined for an embedded server
Check only if {proc} defined
parent 4deb53a5
...@@ -3893,7 +3893,7 @@ sub check_expected_crash_and_restart { ...@@ -3893,7 +3893,7 @@ sub check_expected_crash_and_restart {
foreach my $mysqld ( mysqlds() ) 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 # Check if crash expected by looking at the .expect file
# in var/tmp # in var/tmp
......
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