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

Commit85b436f

Browse files
committed
Minor stylistic corrections.
1 parent8a0fa9c commit85b436f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/storage/ipc/sinvaladt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ SIInsertDataEntries(const SharedInvalidationMessage *data, int n)
471471
for (i=0;i<segP->lastBackend;i++)
472472
{
473473
ProcState*stateP=&segP->procState[i];
474-
stateP->hasMessages=TRUE;
474+
stateP->hasMessages=true;
475475
}
476476

477477
LWLockRelease(SInvalWriteLock);
@@ -542,7 +542,7 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize)
542542
* Note that, if we don't end up reading all of the messages, we had
543543
* better be certain to reset this flag before exiting!
544544
*/
545-
stateP->hasMessages=FALSE;
545+
stateP->hasMessages=false;
546546

547547
/* Fetch current value of maxMsgNum using spinlock */
548548
{
@@ -587,13 +587,13 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize)
587587
* If we have caught up completely, reset our "signaled" flag so that
588588
* we'll get another signal if we fall behind again.
589589
*
590-
* If we haven'tcatch up completely, reset the hasMessages flag so that
590+
* If we haven'tcaught up completely, reset the hasMessages flag so that
591591
* we see the remaining messages next time.
592592
*/
593593
if (stateP->nextMsgNum >=max)
594594
stateP->signaled= false;
595595
else
596-
stateP->hasMessages=TRUE;
596+
stateP->hasMessages=true;
597597

598598
LWLockRelease(SInvalReadLock);
599599
returnn;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp