Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 09a160d

Browse files
author
Hiroshi Inoue
committed
Removed a no longer needed SetWaitingForLock() call in
DeadLockCheck().
1 parent 412cb38 commit 09a160d

File tree

1 file changed

+1
-2
lines changed
  • src/backend/storage/lmgr

1 file changed

+1
-2
lines changed

src/backend/storage/lmgr/lock.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.75 2001/01/02 04:33:16 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.76 2001/01/10 01:24:19 inoue Exp $
1212
*
1313
* NOTES
1414
* Outside modules can create a lock table and acquire/release
@@ -1636,7 +1636,6 @@ DeadLockCheck(PROC *thisProc, LOCK *findlock)
16361636
MyProc,
16371637
NULL) == STATUS_OK)
16381638
{
1639-
SetWaitingForLock(false);
16401639
GrantLock(MyProc->waitLock,
16411640
MyProc->waitHolder,
16421641
MyProc->waitLockMode);

0 commit comments

Comments
 (0)