ndb - bug#24476

  Fix typo that yeilded rare crash in ACC
parent e699ca73
...@@ -3337,7 +3337,8 @@ Dbacc::getElement(Signal* signal, OperationrecPtr& lockOwnerPtr) ...@@ -3337,7 +3337,8 @@ Dbacc::getElement(Signal* signal, OperationrecPtr& lockOwnerPtr)
bool found; bool found;
if (! searchLocalKey) if (! searchLocalKey)
{ {
Uint32 len = readTablePk(localkey1, tgeElementptr, lockOwnerPtr.p); Uint32 len = readTablePk(localkey1, tgeElementHeader,
lockOwnerPtr.p);
found = (len == operationRecPtr.p->xfrmtupkeylen) && found = (len == operationRecPtr.p->xfrmtupkeylen) &&
(memcmp(Tkeydata, ckeys, len << 2) == 0); (memcmp(Tkeydata, ckeys, len << 2) == 0);
} else { } else {
......
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