Commit b1caca5e authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#19198 mysqld failure during DBT2

crash of mysqld due to null tOp in
NdbTransaction::getNdbIndexScanOperation(NdbIndexImpl*,NdbTableImpl*)
parent 592dc88b
...@@ -1170,9 +1170,9 @@ NdbTransaction::getNdbIndexScanOperation(const NdbIndexImpl* index, ...@@ -1170,9 +1170,9 @@ NdbTransaction::getNdbIndexScanOperation(const NdbIndexImpl* index,
if(tOp) if(tOp)
{ {
tOp->m_currentTable = table; tOp->m_currentTable = table;
}
// Mark that this really an NdbIndexScanOperation // Mark that this really an NdbIndexScanOperation
tOp->m_type = NdbOperation::OrderedIndexScan; tOp->m_type = NdbOperation::OrderedIndexScan;
}
return tOp; return tOp;
} else { } else {
setOperationErrorCodeAbort(4271); setOperationErrorCodeAbort(4271);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment