Commit 1028185a authored by unknown's avatar unknown
Browse files

ndb - bug#23200

  Make sure postExecute is not run for blobs if AO_IgnoreError


ndb/src/ndbapi/NdbConnection.cpp:
  If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
parent 855c4e06
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -373,6 +373,13 @@ NdbConnection::execute(ExecType aTypeOfExec,
      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