#At file:///home/bm136801/my/header-55/ based on revid:bjorn.munch@stripped
3137 Bjorn Munch 2011-01-11
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
modified:
mysql-test/lib/mtr_report.pm
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/lib/mtr_report.pm'
--- a/mysql-test/lib/mtr_report.pm 2010-09-20 08:12:39 +0000
+++ b/mysql-test/lib/mtr_report.pm 2011-01-11 14:36:41 +0000
@@ -395,7 +395,7 @@ sub mtr_report_stats ($$;$) {
##############################################################################
sub mtr_print_line () {
- print '-' x 60 . "\n";
+ print '-' x 74 . "\n";
}
@@ -405,13 +405,18 @@ sub mtr_print_thick_line {
}
-sub mtr_print_header () {
+sub mtr_print_header ($) {
+ my ($wid) = @_;
print "\n";
printf "TEST";
- print " " x 38;
+ if ($wid) {
+ print " " x 34 . "WORKER ";
+ } else {
+ print " " x 38;
+ }
print "RESULT ";
- print "TIME (ms)" if $timer;
- print "\n";
+ print "TIME (ms) or " if $timer;
+ print "COMMENT\n";
mtr_print_line();
print "\n";
}
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2010-12-29 15:28:19 +0000
+++ b/mysql-test/mysql-test-run.pl 2011-01-11 14:36:41 +0000
@@ -442,7 +442,7 @@ sub main {
mtr_report();
mtr_print_thick_line();
- mtr_print_header();
+ mtr_print_header($opt_parallel > 1);
mark_time_used('init');
Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110111143641-rpd2l29rkauljclb.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-mtr branch (bjorn.munch:3137) Bug#59182 | Bjorn Munch | 11 Jan |