mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Add missed que changing in LockManager::setOwnerHandle
This commit is contained in:
parent
edbbdb9410
commit
cf37531005
@ -390,6 +390,12 @@ bool LockManager::setOwnerHandle(SRQ_PTR request_offset, SRQ_PTR new_owner_offse
|
|||||||
request->lrq_owner = new_owner_offset;
|
request->lrq_owner = new_owner_offset;
|
||||||
insert_tail(&new_owner->own_requests, &request->lrq_own_requests);
|
insert_tail(&new_owner->own_requests, &request->lrq_own_requests);
|
||||||
|
|
||||||
|
if (request->lrq_flags & LRQ_blocking)
|
||||||
|
{
|
||||||
|
remove_que(&request->lrq_own_blocks);
|
||||||
|
insert_tail(&new_owner->own_blocks, &request->lrq_own_blocks);
|
||||||
|
}
|
||||||
|
|
||||||
release_shmem(new_owner_offset);
|
release_shmem(new_owner_offset);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user