List:Commits« Previous MessageNext Message »
From:msvensson Date:April 28 2008 10:20am
Subject:bk commit into 5.1 tree (msvensson:1.2616)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson.  When msvensson does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-28 12:20:42+02:00, msvensson@stripped +1 -0
  Return immediately from 'check-testcase' and 'check_warnings' if no
  check processes has been started

  mysql-test/mysql-test-run.pl@stripped, 2008-04-28 12:20:40+02:00, msvensson@stripped +6 -0
    Return immediately from 'check-testcase' and 'check_warnings' if no
    check processes has been started

diff -Nrup a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
--- a/mysql-test/mysql-test-run.pl	2008-04-28 09:24:23 +02:00
+++ b/mysql-test/mysql-test-run.pl	2008-04-28 12:20:40 +02:00
@@ -2588,6 +2588,9 @@ sub check_testcase($$)
     }
   }
 
+  # Return immediately if no check proceess was started
+  return 0 unless ( keys %started );
+
   while (1){
     my $result;
     my $proc= My::SafeProcess->wait_any();
@@ -3023,6 +3026,9 @@ sub check_warnings ($) {
       $started{$proc->pid()}= $proc;
     }
   }
+
+  # Return immediately if no check proceess was started
+  return 0 unless ( keys %started );
 
   while (1){
     my $result= 0;
Thread
bk commit into 5.1 tree (msvensson:1.2616)msvensson28 Apr