Commit 7b64f3a8 authored by Bjorn Munch's avatar Bjorn Munch

Bug #59182 output of mysql-test-run.pl - mismatch between col names and actual col contents

New patch, avoid global $opt_parallel
I still prefer not to print workerid when not doing parallel
parent aa5110c0
...@@ -396,7 +396,7 @@ sub mtr_report_stats ($$;$) { ...@@ -396,7 +396,7 @@ sub mtr_report_stats ($$;$) {
############################################################################## ##############################################################################
sub mtr_print_line () { sub mtr_print_line () {
print '-' x 60 . "\n"; print '-' x 74 . "\n";
} }
...@@ -406,13 +406,18 @@ sub mtr_print_thick_line { ...@@ -406,13 +406,18 @@ sub mtr_print_thick_line {
} }
sub mtr_print_header () { sub mtr_print_header ($) {
my ($wid) = @_;
print "\n"; print "\n";
printf "TEST"; printf "TEST";
print " " x 38; if ($wid) {
print " " x 34 . "WORKER ";
} else {
print " " x 38;
}
print "RESULT "; print "RESULT ";
print "TIME (ms)" if $timer; print "TIME (ms) or " if $timer;
print "\n"; print "COMMENT\n";
mtr_print_line(); mtr_print_line();
print "\n"; print "\n";
} }
......
...@@ -438,7 +438,7 @@ sub main { ...@@ -438,7 +438,7 @@ sub main {
mtr_report(); mtr_report();
mtr_print_thick_line(); mtr_print_thick_line();
mtr_print_header(); mtr_print_header($opt_parallel > 1);
mark_time_used('init'); mark_time_used('init');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment