diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-09-03 08:39:29 +0200 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-09-03 08:39:29 +0200 |
commit | 863b53e922e61febffdc5ccc41d869c194d527bb (patch) | |
tree | b0b641ae6be3d630fb59c0b5e8c27f0d515ec0ac /mysql-test | |
parent | b5e3f4a35837b8fc924b54cc26a803cfe770d2f5 (diff) | |
parent | 4d676f314c5f41d3060b1326e677dc92487dcbcc (diff) | |
download | mariadb-git-863b53e922e61febffdc5ccc41d869c194d527bb.tar.gz |
merge
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/lib/mtr_report.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index a246c5bbef6..f2131b9bd76 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -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; } |