Commit 091539d3 authored by unknown's avatar unknown
Browse files

BUG#19198 mysqld failure during DBT2

crash of mysqld due to null tOp in
NdbTransaction::getNdbIndexScanOperation(NdbIndexImpl*,NdbTableImpl*)


ndb/src/ndbapi/NdbTransaction.cpp:
  tOp could be null, don't fiddle with it if it is.
parent bf8f30b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1170,9 +1170,9 @@ NdbTransaction::getNdbIndexScanOperation(const NdbIndexImpl* index,
      if(tOp)
      {
	tOp->m_currentTable = table;
      }
        // Mark that this really an NdbIndexScanOperation
        tOp->m_type = NdbOperation::OrderedIndexScan;
      }
      return tOp;
    } else {
      setOperationErrorCodeAbort(4271);