mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Only print thesort order debug printout if using script-debug
This commit is contained in:
parent
9350dbc4f9
commit
4d56a43cb0
1 changed files with 6 additions and 6 deletions
|
@ -186,13 +186,13 @@ sub collect_test_cases ($) {
|
|||
|
||||
@$cases = sort { $sort_criteria{$a->{"name"}} cmp $sort_criteria{$b->{"name"}}; } @$cases;
|
||||
|
||||
### For debugging the sort-order
|
||||
foreach $tinfo (@$cases)
|
||||
if ( $::opt_script_debug )
|
||||
{
|
||||
print $sort_criteria{$tinfo->{"name"}};
|
||||
print " -> \t";
|
||||
print $tinfo->{"name"};
|
||||
print "\n";
|
||||
# For debugging the sort-order
|
||||
foreach $tinfo (@$cases)
|
||||
{
|
||||
print("$sort_criteria{$tinfo->{'name'}} -> \t$tinfo->{'name'}\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue