From 8c3e8a8a0e432b709ad45b452612f744bacf1514 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Sun, 21 Feb 1999 03:49:55 +0000 Subject: From: Tatsuo Ishii Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical. --- src/backend/storage/lmgr/lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/storage/lmgr') diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c index 29424e060f..58bd8d0449 100644 --- a/src/backend/storage/lmgr/lock.c +++ b/src/backend/storage/lmgr/lock.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.43 1999/02/21 01:41:46 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.44 1999/02/21 03:49:22 scrappy Exp $ * * NOTES * Outside modules can create a lock table and acquire/release @@ -1569,7 +1569,7 @@ DeadLockCheck(SHM_QUEUE *lockQueue, LOCK *findlock, bool skip_check) MemSet(&item, 0, XID_TAGSIZE); TransactionIdStore(MyProc->xid, &item.tag.xid); item.tag.lock = MAKE_OFFSET(findlock); -#if 0 +#ifdef NOT_USED item.tag.pid = pid; #endif @@ -1648,7 +1648,7 @@ DeadLockCheck(SHM_QUEUE *lockQueue, LOCK *findlock, bool skip_check) MemSet(&item, 0, XID_TAGSIZE); TransactionIdStore(proc->xid, &item.tag.xid); item.tag.lock = MAKE_OFFSET(findlock); -#if 0 +#ifdef NOT_USED item.tag.pid = pid; #endif -- cgit v1.2.1