MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:November 26 2009 10:34am
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2865) Bug#48918
View as plain text  
#At file:///home/bm136801/my/embmut-51/ based on revid:bjorn.munch@stripped

 2865 Bjorn Munch	2009-11-26
      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-26 10:23:30 +0000
+++ b/mysql-test/mysql-test-run.pl	2009-11-26 10:34:16 +0000
@@ -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


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20091126103416-l9ymnhv0okkukyen.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2865) Bug#48918Bjorn Munch26 Nov