aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2001-01-10 01:24:19 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2001-01-10 01:24:19 +0000
commit09a160d5792e10e467a49801264cfd2ca8f616dc (patch)
tree90ef6b5ba2377a3fa9cee3248bff938ba26a64fc
parent412cb388b3f2936017a80df445f513b7c9f00746 (diff)
downloadpostgresql-09a160d5792e10e467a49801264cfd2ca8f616dc.tar.gz
postgresql-09a160d5792e10e467a49801264cfd2ca8f616dc.zip
Removed a no longer needed SetWaitingForLock() call in
DeadLockCheck().
-rw-r--r--src/backend/storage/lmgr/lock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c
index bee814b0326..f15ee9f8bd6 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);