8
0
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:
hvlad 2009-09-25 18:37:00 +00:00
parent b8f9861446
commit 4d18b2ec67

View File

@ -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;
}
}
}
}