mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Removed a no longer needed SetWaitingForLock() call in
DeadLockCheck().
This commit is contained in:
parent
412cb388b3
commit
09a160d579
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.75 2001/01/02 04:33:16 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.76 2001/01/10 01:24:19 inoue Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Outside modules can create a lock table and acquire/release
|
||||
@ -1636,7 +1636,6 @@ DeadLockCheck(PROC *thisProc, LOCK *findlock)
|
||||
MyProc,
|
||||
NULL) == STATUS_OK)
|
||||
{
|
||||
SetWaitingForLock(false);
|
||||
GrantLock(MyProc->waitLock,
|
||||
MyProc->waitHolder,
|
||||
MyProc->waitLockMode);
|
||||
|
Loading…
Reference in New Issue
Block a user