projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ae0fa
)
From: Massimo Dal Zotto <dz@cs.unitn.it>
author
Marc G. Fournier
<scrappy@hub.org>
Fri, 28 Aug 1998 12:08:03 +0000
(12:08 +0000)
committer
Marc G. Fournier
<scrappy@hub.org>
Fri, 28 Aug 1998 12:08:03 +0000
(12:08 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lock.c
b/src/backend/storage/lmgr/lock.c
index c499c52a85ab7f21af2f936c05e3fa27b4fea4fa..88bd65ff62369a0b03431a1d91435040ffaddfaa 100644
(file)
--- a/
src/backend/storage/lmgr/lock.c
+++ b/
src/backend/storage/lmgr/lock.c
@@
-668,7
+668,7
@@
LockAcquire(LOCKMETHOD lockmethod, LOCKTAG *locktag, LOCKMODE lockmode)
{
SHMQueueDelete(&result->queue);
result = (XIDLookupEnt *) hash_search(xidTable,
- (Pointer)
&
result,
+ (Pointer) result,
HASH_REMOVE, &found);
if (!result || !found) {
elog(NOTICE, "LockAcquire: remove xid, table corrupted");