1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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
This commit is contained in:
Bjorn Munch
2010-06-15 11:00:02 +02:00
parent 45c5eca0aa
commit b785819582

View File

@@ -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);
}
}