List:Commits« Previous MessageNext Message »
From:jonas Date:October 18 2006 4:48pm
Subject:bk commit into 4.1 tree (jonas:1.2552) BUG#23200
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jonas. When jonas 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-10-18 16:48:44+02:00, jonas@stripped +1 -0
  ndb - bug#23200
    Make sure postExecute is not run for blobs if AO_IgnoreError

  ndb/src/ndbapi/NdbConnection.cpp@stripped, 2006-10-18 16:48:43+02:00,
jonas@stripped +8 -1
    If AO_IgnoreError, error codes arent always set on individual operations, making
postExecute impossible

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/41-work

--- 1.36/ndb/src/ndbapi/NdbConnection.cpp	2006-10-18 16:48:46 +02:00
+++ 1.37/ndb/src/ndbapi/NdbConnection.cpp	2006-10-18 16:48:46 +02:00
@@ -373,8 +373,15 @@
       ret = -1;
       if(savedError.code==0)
 	savedError= theError;
+      
+      /**
+       * If AO_IgnoreError, error codes arent always set on individual
+       *   operations, making postExecute impossible
+       */
+      if (abortOption == AO_IgnoreError)
+	DBUG_RETURN(-1);
     }
-
+    
 #ifdef ndb_api_crash_on_complex_blob_abort
     assert(theFirstOpInList == NULL && theLastOpInList == NULL);
 #else
Thread
bk commit into 4.1 tree (jonas:1.2552) BUG#23200jonas18 Oct