minor patch - Mailing list pgsql-hackers

From Massimo Dal Zotto
Subject minor patch
Date
Msg-id 199808281113.NAA27026@tango.cs.unitn.it
Whole thread Raw
Responses Re: [HACKERS] minor patch  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [PATCHES] minor patch  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Hi,

I have this small patch which fixes a typo in my previous lock patches.
Fortunately the bug affects only user locks.

------------------------------------------------------------------------------
*** src/backend/storage/lmgr/lock.c~    Wed Aug 26 09:00:55 1998
--- src/backend/storage/lmgr/lock.c    Thu Aug 27 22:57:56 1998
***************
*** 668,674 ****
              {
                  SHMQueueDelete(&result->queue);
                  result = (XIDLookupEnt *) hash_search(xidTable,
!                                                       (Pointer) &result,
                                                        HASH_REMOVE, &found);
                  if (!result || !found) {
                      elog(NOTICE, "LockAcquire: remove xid, table corrupted");
--- 668,674 ----
              {
                  SHMQueueDelete(&result->queue);
                  result = (XIDLookupEnt *) hash_search(xidTable,
!                                                       (Pointer) result,
                                                        HASH_REMOVE, &found);
                  if (!result || !found) {
                      elog(NOTICE, "LockAcquire: remove xid, table corrupted");
------------------------------------------------------------------------------

Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto                email:  dz@cs.unitn.it             |
|  Via Marconi, 141                 phone:  ++39-461-534251            |
|  38057 Pergine Valsugana (TN)     www:  http://www.cs.unitn.it/~dz/  |
|  Italy                            pgp:  finger dz@tango.cs.unitn.it  |
+----------------------------------------------------------------------+

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: New problem
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] minor patch