MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 18 2009 11:02am
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2848) Bug#48133
View as plain text  
#At file:///home/bm136801/my/46007-51/ based on revid:bjorn.munch@stripped

 2848 Bjorn Munch	2009-10-18
      Bug #48133 MTR should not dump entire history of mysqld log when failing to start server
      Don't print entire log, but use extract_server_log() introduced by 46007

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2009-10-17 16:34:56 +0000
+++ b/mysql-test/mysql-test-run.pl	2009-10-18 11:01:46 +0000
@@ -4702,7 +4702,8 @@ sub start_servers($) {
       my $logfile= $mysqld->value('#log-error');
       if ( defined $logfile and -f $logfile )
       {
-	$tinfo->{logfile}= mtr_fromfile($logfile);
+        my @srv_lines= extract_server_log($logfile, $tinfo->{name});
+	$tinfo->{logfile}= "Server log is:\n" . join ("", @srv_lines);
       }
       else
       {


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20091018110146-gygwz4u3n0dtwv9g.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2848) Bug#48133Bjorn Munch18 Oct