projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff8f160
)
Fix silly bug in previous refactoring.
author
Heikki Linnakangas
Tue, 9 Oct 2012 16:33:12 +0000
(19:33 +0300)
committer
Heikki Linnakangas
Tue, 9 Oct 2012 16:33:12 +0000
(19:33 +0300)
I extracted the refactoring patch from a larger patch that contained other
changes too, but missed one unintentional change and didn't test enough...
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 17ceda3b1ad311776e108307a3f4cc2f1247a2b9..d251d08b1903b98603517084309184b11649f488 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-9499,7
+9499,7
@@
WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
if (readFile < 0)
{
readFile = XLogFileRead(readSegNo, PANIC,
-
curFile
TLI,
+
recoveryTarget
TLI,
XLOG_FROM_STREAM, false);
Assert(readFile >= 0);
}