mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Backport fix for 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
b8f9861446
commit
4d18b2ec67
@ -3671,8 +3671,11 @@ static void post_pending( LBL lock)
|
||||
if (request->lrq_flags & LRQ_pending)
|
||||
break;
|
||||
|
||||
if (!(request->lrq_flags & (LRQ_blocking_seen | LRQ_blocking)))
|
||||
if (!(request->lrq_flags & (LRQ_blocking_seen | LRQ_blocking)) &&
|
||||
request->lrq_ast_routine)
|
||||
{
|
||||
request->lrq_flags |= LRQ_just_granted;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user