MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:June 15 2010 9:00am
Subject:bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2874) Bug#53424
View as plain text  
#At file:///home/bm136801/my/interr-50/ based on revid:bjorn.munch@stripped

 2874 Bjorn Munch	2010-06-15
      Bug #53424 Certain combination of flags give internal error
      Reorder code breaks when finding tests skipped due to --skip-rpl etc.
      Add simple test that master_opt is non-empty

    modified:
      mysql-test/lib/mtr_cases.pl
=== modified file 'mysql-test/lib/mtr_cases.pl'
--- a/mysql-test/lib/mtr_cases.pl	2007-11-01 10:02:28 +0000
+++ b/mysql-test/lib/mtr_cases.pl	2010-06-15 09:00:02 +0000
@@ -246,8 +246,10 @@ sub collect_test_cases ($) {
 	push(@criteria, "ndb=" . ($tinfo->{'ndb_test'} ? "1" : "0"));
 	# Group test with equal options together.
 	# Ending with "~" makes empty sort later than filled
-	push(@criteria, join("!", sort @{$tinfo->{'master_opt'}}) . "~");
-
+	if ( $tinfo->{'master_opt'}[0] )
+	{
+	  push(@criteria, join("!", sort @{$tinfo->{'master_opt'}}) . "~");
+	}
 	$sort_criteria{$test_name} = join(" ", @criteria);
       }
     }


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20100615090002-uuz11zy4l3wiaucm.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2874) Bug#53424Bjorn Munch15 Jun