List:Commits« Previous MessageNext Message »
From:msvensson Date:July 21 2006 2:53pm
Subject:bk commit into 5.1 tree (msvensson:1.2228) BUG#21188
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, 2006-07-21 16:53:08+02:00, msvensson@neptunus.(none) +1 -0
  Bug#21188  	mysqlimport returns random exit code
   - Only handle return codes from 'pclose' greater than zero as errors.
   - It appears pclose can return -1 with errno set to ECHILD although the executin
  process completed successfully. 

  client/mysqltest.c@stripped, 2006-07-21 16:53:05+02:00, msvensson@neptunus.(none) +1 -1
    Only handle return codes from 'pclose' greater than zero as errors.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.1-new-maint

--- 1.214/client/mysqltest.c	2006-07-21 16:53:13 +02:00
+++ 1.215/client/mysqltest.c	2006-07-21 16:53:13 +02:00
@@ -1207,7 +1207,7 @@ static void do_exec(struct st_query *que
     }
   }
   error= pclose(res_file);
-  if (error != 0)
+  if (error > 0)
   {
     uint status= WEXITSTATUS(error), i;
     my_bool ok= 0;
Thread
bk commit into 5.1 tree (msvensson:1.2228) BUG#21188msvensson21 Jul