List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:February 28 2011 3:10pm
Subject:bzr commit into mysql-5.1-mtr branch (bjorn.munch:2984)
View as plain text  
#At file:///home/bm136801/my/mtr-51/ based on revid:bjorn.munch@stripped

 2984 Bjorn Munch	2011-02-28
      Attempt at solving missing end of mtr output on Windows

    modified:
      mysql-test/lib/mtr_report.pm
=== modified file 'mysql-test/lib/mtr_report.pm'
--- a/mysql-test/lib/mtr_report.pm	2011-01-18 10:03:44 +0000
+++ b/mysql-test/lib/mtr_report.pm	2011-02-28 15:10:35 +0000
@@ -32,6 +32,7 @@ our @EXPORT= qw(report_option mtr_print_
 use mtr_match;
 use My::Platform;
 use POSIX qw[ _exit ];
+use IO::Handle qw[ flush ];
 require "mtr_io.pl";
 
 my $tot_real_time= 0;
@@ -477,6 +478,7 @@ sub mtr_warning (@) {
 
 # Print error to screen and then exit
 sub mtr_error (@) {
+  IO::Handle::flush(\*STDOUT) if IS_WINDOWS;
   print STDERR _name(). _timestamp().
     "mysql-test-run: *** ERROR: ". join(" ", @_). "\n";
   if (IS_WINDOWS)


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110228151035-fm7zj7rq12jkjgxl.bundle
Thread
bzr commit into mysql-5.1-mtr branch (bjorn.munch:2984) Bjorn Munch28 Feb