diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-10-27 23:54:24 +0200 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-10-27 23:54:24 +0200 |
commit | 7577630572dbe23884ab5dd228293e57117d7027 (patch) | |
tree | 091b47f09cd0b736b320d4914ef26bbff2c5b407 /ndb | |
parent | 559951486a34f256ff01ea68f28233022c2ce65e (diff) | |
parent | 11ac49077938893be01273e848eb7cdbae0ab409 (diff) | |
download | mariadb-git-7577630572dbe23884ab5dd228293e57117d7027.tar.gz |
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-ndb
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/ndbapi/NdbConnection.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/NdbConnection.cpp b/ndb/src/ndbapi/NdbConnection.cpp index e061740c9f6..d5fa8f77db2 100644 --- a/ndb/src/ndbapi/NdbConnection.cpp +++ b/ndb/src/ndbapi/NdbConnection.cpp @@ -379,7 +379,29 @@ NdbConnection::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 |