mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Remove bogus while-loop.
Commit abf5c5c9a4
added a bogus while-
statement after the for(;;)-loop. It went unnoticed in testing, because
it was dead code.
Report by KONDO Mitsumasa. Backpatch to 9.3. The commit that introduced
this was also applied to 9.2, but not the bogus while-loop part, because
the code in 9.2 looks quite different.
This commit is contained in:
parent
192d8e04bd
commit
d8a42b150f
@ -11333,9 +11333,9 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
|
||||
* process.
|
||||
*/
|
||||
HandleStartupProcInterrupts();
|
||||
} while (StandbyMode);
|
||||
}
|
||||
|
||||
return false;
|
||||
return false; /* not reached */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user