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

Commitd8a42b1

Browse files
committed
Remove bogus while-loop.
Commitabf5c5c added a bogus while-statement after the for(;;)-loop. It went unnoticed in testing, becauseit was dead code.Report by KONDO Mitsumasa. Backpatch to 9.3. The commit that introducedthis was also applied to 9.2, but not the bogus while-loop part, becausethe code in 9.2 looks quite different.
1 parent192d8e0 commitd8a42b1

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11333,9 +11333,9 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
1133311333
* process.
1133411334
*/
1133511335
HandleStartupProcInterrupts();
11336-
}while (StandbyMode);
11336+
}
1133711337

11338-
return false;
11338+
return false;/* not reached */
1133911339
}
1134011340

1134111341
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp