mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
BUG#19198 mysqld failure during DBT2
crash of mysqld due to null tOp in NdbTransaction::getNdbIndexScanOperation(NdbIndexImpl*,NdbTableImpl*) storage/ndb/src/ndbapi/NdbTransaction.cpp: tOp could be null, don't fiddle with it if it is.
This commit is contained in:
parent
8f2c82b383
commit
43b1977f4c
1 changed files with 2 additions and 2 deletions
|
@ -1192,9 +1192,9 @@ NdbTransaction::getNdbIndexScanOperation(const NdbIndexImpl* index,
|
|||
if(tOp)
|
||||
{
|
||||
tOp->m_currentTable = table;
|
||||
// Mark that this really an NdbIndexScanOperation
|
||||
tOp->m_type = NdbOperation::OrderedIndexScan;
|
||||
}
|
||||
// Mark that this really an NdbIndexScanOperation
|
||||
tOp->m_type = NdbOperation::OrderedIndexScan;
|
||||
return tOp;
|
||||
} else {
|
||||
setOperationErrorCodeAbort(4271);
|
||||
|
|
Loading…
Reference in a new issue