summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-10-27 16:38:12 +0200
committerunknown <jonas@perch.ndb.mysql.com>2006-10-27 16:38:12 +0200
commitd7dc169ea06552922f922dcf709eda90f1d46798 (patch)
treece8805d254bb9bddeb6c2af072af8098c781eafe /storage
parent60b5420bff1f9d8cb4dd691df8ea3c6c25a36a4a (diff)
parentbd6203d528fe129957b5b187ec5ca6b45a615065 (diff)
downloadmariadb-git-d7dc169ea06552922f922dcf709eda90f1d46798.tar.gz
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb storage/ndb/src/ndbapi/NdbTransaction.cpp: Auto merged
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/ndbapi/NdbTransaction.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/storage/ndb/src/ndbapi/NdbTransaction.cpp b/storage/ndb/src/ndbapi/NdbTransaction.cpp
index 1801f2e55a9..0cbd67a38f6 100644
--- a/storage/ndb/src/ndbapi/NdbTransaction.cpp
+++ b/storage/ndb/src/ndbapi/NdbTransaction.cpp
@@ -366,7 +366,29 @@ NdbTransaction::execute(ExecType aTypeOfExec,
* operations, making postExecute impossible
*/
if (abortOption == AO_IgnoreError)
+ {
+ if (theCompletedFirstOp != NULL)
+ {
+ if (tCompletedFirstOp != NULL)
+ {
+ tCompletedLastOp->next(theCompletedFirstOp);
+ theCompletedFirstOp = tCompletedFirstOp;
+ }
+ }
+ else
+ {
+ theCompletedFirstOp = tCompletedFirstOp;
+ theCompletedLastOp = tCompletedLastOp;
+ }
+ if (tPrepOp != NULL && tRestOp != NULL) {
+ if (theFirstOpInList == NULL)
+ theFirstOpInList = tRestOp;
+ else
+ theLastOpInList->next(tRestOp);
+ theLastOpInList = tLastOp;
+ }
DBUG_RETURN(-1);
+ }
}
#ifdef ndb_api_crash_on_complex_blob_abort