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

Commitf738747

Browse files
committed
Do this TODO item:
* HOLDER/HOLDERTAB rename to PROCLOCK/PROCLOCKTAG (Tom)Didn't use PROCLOCKLINK because it made PROCLOCKLINKTAG too long.
1 parent8ca6147 commitf738747

File tree

5 files changed

+92
-92
lines changed

5 files changed

+92
-92
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.4 2001/09/2904:02:24 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.5 2001/09/2921:35:14 momjian Exp $
1616
*
1717
*Interface:
1818
*
@@ -382,7 +382,7 @@ FindLockCycleRecurse(PROC *checkProc,
382382
{
383383
PROC*proc;
384384
LOCK*lock;
385-
HOLDER*holder;
385+
PROCLOCK*holder;
386386
SHM_QUEUE*lockHolders;
387387
LOCKMETHODTABLE*lockMethodTable;
388388
LOCKMETHODCTL*lockctl;
@@ -434,8 +434,8 @@ FindLockCycleRecurse(PROC *checkProc,
434434
*/
435435
lockHolders=&(lock->lockHolders);
436436

437-
holder= (HOLDER*)SHMQueueNext(lockHolders,lockHolders,
438-
offsetof(HOLDER,lockLink));
437+
holder= (PROCLOCK*)SHMQueueNext(lockHolders,lockHolders,
438+
offsetof(PROCLOCK,lockLink));
439439

440440
while (holder)
441441
{
@@ -458,8 +458,8 @@ FindLockCycleRecurse(PROC *checkProc,
458458
}
459459
}
460460

461-
holder= (HOLDER*)SHMQueueNext(lockHolders,&holder->lockLink,
462-
offsetof(HOLDER,lockLink));
461+
holder= (PROCLOCK*)SHMQueueNext(lockHolders,&holder->lockLink,
462+
offsetof(PROCLOCK,lockLink));
463463
}
464464

465465
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp