From: Hiroshi Inoue Date: Wed, 10 Jan 2001 01:24:19 +0000 (+0000) Subject: Removed a no longer needed SetWaitingForLock() call in X-Git-Tag: REL7_1~867 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09a160d5792e10e467a49801264cfd2ca8f616dc;p=postgresql Removed a no longer needed SetWaitingForLock() call in DeadLockCheck(). --- diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c index bee814b032..f15ee9f8bd 100644 --- a/src/backend/storage/lmgr/lock.c +++ b/src/backend/storage/lmgr/lock.c @@ -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);