Commit fb4604f2 authored by unknown's avatar unknown

ndb - bug#30764

  When adding a read to lock queue, where there is a X-lock ahead, upgrade to X-lock
  (found by pekkas blob changes)


storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  When adding a read to lock queue, where there is a X-lock ahead, upgrade to X-lock
  (found by pekkas blob changes)
parent 39a892aa
......@@ -2137,6 +2137,7 @@ Dbacc::placeReadInLockQueue(OperationrecPtr lockOwnerPtr)
if (same && (lastbits & Operationrec::OP_ACC_LOCK_MODE))
{
jam();
opbits |= Operationrec::OP_LOCK_MODE; // Upgrade to X-lock
goto checkop;
}
......
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