mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +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,10 +3671,13 @@ static void post_pending( LBL lock)
|
|||||||
if (request->lrq_flags & LRQ_pending)
|
if (request->lrq_flags & LRQ_pending)
|
||||||
break;
|
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;
|
request->lrq_flags |= LRQ_just_granted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user