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

Commitdfefad7

Browse files
committed
Missing semicolons in non-HAS_TEST_AND_SET code paths :-(
1 parent1bdd7c6 commitdfefad7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.52 1999/05/25 16:10:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.53 1999/05/29 03:58:43 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2028,8 +2028,8 @@ LockBuffer(Buffer buffer, int mode)
20282028
S_LOCK(&(buf->cntx_lock));
20292029
#else
20302030
IpcSemaphoreUnlock(WaitCLSemId,0,IpcExclusiveLock);
2031-
s_lock_sleep(i++)
2032-
IpcSemaphoreLock(WaitCLSemId,0,IpcExclusiveLock);
2031+
s_lock_sleep(i++);
2032+
IpcSemaphoreLock(WaitCLSemId,0,IpcExclusiveLock);
20332033
#endif
20342034
}
20352035
(buf->r_locks)++;
@@ -2054,8 +2054,8 @@ LockBuffer(Buffer buffer, int mode)
20542054
S_LOCK(&(buf->cntx_lock));
20552055
#else
20562056
IpcSemaphoreUnlock(WaitCLSemId,0,IpcExclusiveLock);
2057-
s_lock_sleep(i++)
2058-
IpcSemaphoreLock(WaitCLSemId,0,IpcExclusiveLock);
2057+
s_lock_sleep(i++);
2058+
IpcSemaphoreLock(WaitCLSemId,0,IpcExclusiveLock);
20592059
#endif
20602060
}
20612061
buf->w_lock= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp