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

Commit90d4900

Browse files
committed
Have to PROC_INCR_SLOCK before return.
1 parente704692 commit90d4900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/ipc/spin.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/ipc/Attic/spin.c,v 1.9 1997/09/18 14:20:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.10 1997/09/22 04:20:53 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -116,7 +116,7 @@ SpinAcquire(SPINLOCK lockid)
116116
printf("OUT: ");
117117
PRINT_LOCK(slckP);
118118
#endif
119-
return;
119+
break;
120120
caseSHAREDLOCK:
121121
caseEXCLUSIVELOCK:
122122
S_UNLOCK(&(slckP->locklock));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp