Skip to content

Commit 8fa93b0

Browse files
committed
Rename Lockm to Locks.
1 parent ae6a658 commit 8fa93b0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/backend/storage/ipc/ipci.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.12 1998/06/25 14:24:34 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.13 1998/06/26 19:57:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -92,8 +92,8 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
9292
* ----------------
9393
*/
9494
InitLocks();
95-
InitMultiLevelLockm();
96-
if (InitMultiLevelLockm() == INVALID_TABLEID)
95+
InitMultiLevelLocks();
96+
if (InitMultiLevelLocks() == INVALID_TABLEID)
9797
elog(FATAL, "Couldn't create the lock table");
9898

9999
/* ----------------
@@ -146,7 +146,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
146146
* ----------------
147147
*/
148148
InitLocks();
149-
if (InitMultiLevelLockm() == INVALID_TABLEID)
149+
if (InitMultiLevelLocks() == INVALID_TABLEID)
150150
elog(FATAL, "Couldn't attach to the lock table");
151151

152152
AttachSharedInvalidationState(key);

src/backend/storage/lmgr/multi.c

Lines changed: 4 additions & 4 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/Attic/multi.c,v 1.15 1998/06/26 01:58:45 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.16 1998/06/26 19:57:49 momjian Exp $
1616
*
1717
* NOTES:
1818
* (1) The lock.c module assumes that the caller here is doing
@@ -85,7 +85,7 @@ LockTableId ShortTermTableId = (LockTableId) NULL;
8585
* Create the lock table described by MultiConflicts and Multiprio.
8686
*/
8787
LockTableId
88-
InitMultiLevelLockm()
88+
InitMultiLevelLocks()
8989
{
9090
int tableId;
9191

@@ -99,13 +99,13 @@ InitMultiLevelLockm()
9999
tableId = LockTableInit("LockTable", MultiConflicts, MultiPrios, 5);
100100
MultiTableId = tableId;
101101
if (!(MultiTableId))
102-
elog(ERROR, "InitMultiLockm: couldnt initialize lock table");
102+
elog(ERROR, "InitMultiLocks: couldnt initialize lock table");
103103
/* -----------------------
104104
* No short term lock table for now. -Jeff 15 July 1991
105105
*
106106
* ShortTermTableId = LockTableRename(tableId);
107107
* if (! (ShortTermTableId)) {
108-
* elog(ERROR,"InitMultiLockm: couldnt rename lock table");
108+
* elog(ERROR,"InitMultiLocks: couldnt rename lock table");
109109
* }
110110
* -----------------------
111111
*/

src/include/storage/multilev.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: multilev.h,v 1.7 1998/02/26 04:43:30 momjian Exp $
10+
* $Id: multilev.h,v 1.8 1998/06/26 19:57:50 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -49,7 +49,7 @@ extern LockTableId ShortTermTableId;
4949
/*
5050
* function prototypes
5151
*/
52-
extern LockTableId InitMultiLevelLockm(void);
52+
extern LockTableId InitMultiLevelLocks(void);
5353
extern bool MultiLockReln(LockInfo linfo, LOCKT lockt);
5454
extern bool MultiLockTuple(LockInfo linfo, ItemPointer tidPtr, LOCKT lockt);
5555
extern bool MultiLockPage(LockInfo linfo, ItemPointer tidPtr, LOCKT lockt);

0 commit comments

Comments
 (0)