minor patch

From: Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>
To: pgsql-patches(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: minor patch
Date: 1998-08-28 11:13:39
Message-ID: 199808281113.NAA27026@tango.cs.unitn.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cs(dot)unitn(dot)it |
| Via Marconi, 141 phone: ++39-461-534251 |
| 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ |
| Italy pgp: finger dz(at)tango(dot)cs(dot)unitn(dot)it |
+----------------------------------------------------------------------+

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 1998-08-28 13:40:16 ecpg patches
Previous Message Andreas Zeugswetter 1998-08-28 10:27:59 long long int and printf format for int8.c