Loading sql/ha_ndbcluster.cc +2 −1 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,8 @@ int ha_ndbcluster::peek_indexed_rows(const byte *record) int res; DBUG_ENTER("peek_indexed_rows"); NdbOperation::LockMode lm= NdbOperation::LM_Read; NdbOperation::LockMode lm= (NdbOperation::LockMode)get_ndb_lock_type(m_lock.type); first= NULL; if (table->s->primary_key != MAX_KEY) { Loading storage/ndb/src/ndbapi/NdbTransaction.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -360,6 +360,13 @@ NdbTransaction::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 Loading Loading
sql/ha_ndbcluster.cc +2 −1 Original line number Diff line number Diff line Loading @@ -1875,7 +1875,8 @@ int ha_ndbcluster::peek_indexed_rows(const byte *record) int res; DBUG_ENTER("peek_indexed_rows"); NdbOperation::LockMode lm= NdbOperation::LM_Read; NdbOperation::LockMode lm= (NdbOperation::LockMode)get_ndb_lock_type(m_lock.type); first= NULL; if (table->s->primary_key != MAX_KEY) { Loading
storage/ndb/src/ndbapi/NdbTransaction.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -360,6 +360,13 @@ NdbTransaction::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 Loading