mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Fixed bug CORE-2640 : A regular deadlock may not be detected by the lock manager under some conditions, thus resulting in a hang
This commit is contained in:
parent
92b819b1c7
commit
bc7f2e683a
@ -2762,8 +2762,11 @@ void LockManager::post_pending(lbl* lock)
|
||||
if (request->lrq_flags & LRQ_pending)
|
||||
break;
|
||||
|
||||
if (!(request->lrq_flags & (LRQ_blocking | LRQ_blocking_seen)))
|
||||
if (!(request->lrq_flags & (LRQ_blocking | LRQ_blocking_seen)) &&
|
||||
request->lrq_ast_routine)
|
||||
{
|
||||
request->lrq_flags |= LRQ_just_granted;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user