mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix silly bug in previous refactoring.
I extracted the refactoring patch from a larger patch that contained other changes too, but missed one unintentional change and didn't test enough...
This commit is contained in:
@ -9499,7 +9499,7 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
|
|||||||
if (readFile < 0)
|
if (readFile < 0)
|
||||||
{
|
{
|
||||||
readFile = XLogFileRead(readSegNo, PANIC,
|
readFile = XLogFileRead(readSegNo, PANIC,
|
||||||
curFileTLI,
|
recoveryTargetTLI,
|
||||||
XLOG_FROM_STREAM, false);
|
XLOG_FROM_STREAM, false);
|
||||||
Assert(readFile >= 0);
|
Assert(readFile >= 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user