Skip to content

Commit 2d8c81a

Browse files
committed
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...
1 parent ff8f160 commit 2d8c81a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9499,7 +9499,7 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
94999499
if (readFile < 0)
95009500
{
95019501
readFile = XLogFileRead(readSegNo, PANIC,
9502-
curFileTLI,
9502+
recoveryTargetTLI,
95039503
XLOG_FROM_STREAM, false);
95049504
Assert(readFile >= 0);
95059505
}

0 commit comments

Comments
 (0)