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

Commit1de8926

Browse files
committed
LOCK_LEVEL is defined in an i386_solaris system file, causing the compile
to break. renaming to PG_LOCK_LEVEL
1 parentb34c8ec commit1de8926

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 5 additions & 5 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.10 1998/01/07 21:05:35 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.11 1998/01/23 19:53:40 scrappy Exp $
1616
*
1717
* NOTES:
1818
* (1) The lock.c module assumes that the caller here is doing
@@ -31,10 +31,10 @@
3131

3232
staticbool
3333
MultiAcquire(LockTableIdtableId,LOCKTAG*tag,LOCKTlockt,
34-
LOCK_LEVELlevel);
34+
PG_LOCK_LEVELlevel);
3535
staticbool
3636
MultiRelease(LockTableIdtableId,LOCKTAG*tag,LOCKTlockt,
37-
LOCK_LEVELlevel);
37+
PG_LOCK_LEVELlevel);
3838

3939
/*
4040
* INTENT indicates to higher level that a lower level lock has been
@@ -201,7 +201,7 @@ static bool
201201
MultiAcquire(LockTableIdtableId,
202202
LOCKTAG*tag,
203203
LOCKTlockt,
204-
LOCK_LEVELlevel)
204+
PG_LOCK_LEVELlevel)
205205
{
206206
LOCKTlocks[N_LEVELS];
207207
inti,
@@ -361,7 +361,7 @@ static bool
361361
MultiRelease(LockTableIdtableId,
362362
LOCKTAG*tag,
363363
LOCKTlockt,
364-
LOCK_LEVELlevel)
364+
PG_LOCK_LEVELlevel)
365365
{
366366
LOCKTlocks[N_LEVELS];
367367
inti,

‎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.5 1997/09/08 02:39:05 momjian Exp $
10+
* $Id: multilev.h,v 1.6 1998/01/23 19:53:44 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -39,7 +39,7 @@
3939
#defineRELN_LEVEL 0
4040
#definePAGE_LEVEL 1
4141
#defineTUPLE_LEVEL 2
42-
typedefintLOCK_LEVEL;
42+
typedefintPG_LOCK_LEVEL;
4343

4444
/* multi.c */
4545

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp