Commit bacb71d6 authored by jonas@perch.ndb.mysql.com's avatar jonas@perch.ndb.mysql.com
Browse files

ndb - bug#23200

  Make sure postExecute is not run for blobs if AO_IgnoreError
parent 564d461f
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