Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb686927

Browse files
committed
From: Massimo Dal Zotto <dz@cs.unitn.it>I have this small patch which fixes a typo in my previous lock patches.Fortunately the bug affects only user locks.-
1 parentd8dbbc8 commitb686927

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/lmgr

1 file changed

+2
-2
lines changed

‎src/backend/storage/lmgr/lock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.33 1998/08/25 21:20:26 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.34 1998/08/28 12:08:03 scrappy Exp $
1111
*
1212
* NOTES
1313
* Outside modules can create a lock table and acquire/release
@@ -668,7 +668,7 @@ LockAcquire(LOCKMETHOD lockmethod, LOCKTAG *locktag, LOCKMODE lockmode)
668668
{
669669
SHMQueueDelete(&result->queue);
670670
result= (XIDLookupEnt*)hash_search(xidTable,
671-
(Pointer)&result,
671+
(Pointer)result,
672672
HASH_REMOVE,&found);
673673
if (!result|| !found) {
674674
elog(NOTICE,"LockAcquire: remove xid, table corrupted");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp