ndb - bug#24476

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