MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:September 3 2009 6:20am
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2831) Bug#47075
View as plain text  
#At file:///home/bm136801/my/append-51/ based on revid:bjorn.munch@stripped

 2831 Bjorn Munch	2009-09-03
      Bug #47075 Wildcards in experimental test names destroyed when tested first time
      Extract substr into local variable

    modified:
      mysql-test/lib/mtr_report.pm
=== modified file 'mysql-test/lib/mtr_report.pm'
--- a/mysql-test/lib/mtr_report.pm	2009-06-02 08:00:45 +0000
+++ b/mysql-test/lib/mtr_report.pm	2009-09-03 06:19:54 +0000
@@ -134,8 +134,8 @@ sub mtr_report_test ($) {
           # an asterisk at the end, determine if the characters up to
           # but excluding the asterisk are the same
           if ( $exp ne "" && substr($exp, -1, 1) eq "*" ) {
-            $exp = substr($exp, 0, length($exp) - 1);
-            if ( substr($test_name, 0, length($exp)) ne $exp ) {
+            my $nexp = substr($exp, 0, length($exp) - 1);
+            if ( substr($test_name, 0, length($nexp)) ne $nexp ) {
               # no match, try next entry
               next;
             }


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20090903061954-zazrper1xbiwc9wn.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2831) Bug#47075Bjorn Munch3 Sep