#At file:///home/bm136801/my/uninit-51/ based on revid:bjorn.munch@stripped
2861 Bjorn Munch 2009-11-20
Bug #48918 MTR uses an un-initialized value in comparison
mysqld->{proc} not defined for an embedded server
Check only if {proc} defined
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2009-11-19 09:19:18 +0000
+++ b/mysql-test/mysql-test-run.pl 2009-11-20 12:57:45 +0000
@@ -3913,7 +3913,7 @@ sub check_expected_crash_and_restart {
foreach my $mysqld ( mysqlds() )
{
- next unless ( $mysqld->{proc} eq $proc );
+ next unless ( $mysqld->{proc} && $mysqld->{proc} eq $proc );
# Check if crash expected by looking at the .expect file
# in var/tmp
Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20091120125745-wlio4wpf6xbuiwir.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2861) Bug#48918 | Bjorn Munch | 20 Nov |