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

Commit17450cb

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 parent9b4bd35 commit17450cb

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
@@ -9906,9 +9906,9 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
99069906
* process.
99079907
*/
99089908
HandleStartupProcInterrupts();
9909-
}while (StandbyMode);
9909+
}
99109910

9911-
return false;
9911+
return false;/* not reached */
99129912
}
99139913

99149914
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp