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)
parent 9b913a19
...@@ -2137,6 +2137,7 @@ Dbacc::placeReadInLockQueue(OperationrecPtr lockOwnerPtr) ...@@ -2137,6 +2137,7 @@ Dbacc::placeReadInLockQueue(OperationrecPtr lockOwnerPtr)
if (same && (lastbits & Operationrec::OP_ACC_LOCK_MODE)) if (same && (lastbits & Operationrec::OP_ACC_LOCK_MODE))
{ {
jam(); jam();
opbits |= Operationrec::OP_LOCK_MODE; // Upgrade to X-lock
goto checkop; 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