]> granicus.if.org Git - postgresql/commitdiff
Fix silly typo in code, which broke the check for reaching consistency.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 2 Jan 2013 11:42:15 +0000 (13:42 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 2 Jan 2013 11:44:59 +0000 (13:44 +0200)
src/backend/access/transam/xlog.c

index e730427d3ef5431e2caeb734f03c7e6a6c11fc7a..b43412d605a8856d53c001139ed0344c1a12a28e 100644 (file)
@@ -5702,7 +5702,7 @@ StartupXLOG(void)
                xlogctl->replayEndRecPtr = ReadRecPtr;
                xlogctl->replayEndTLI = ThisTimeLineID;
                xlogctl->lastReplayedEndRecPtr = EndRecPtr;
-               xlogctl->lastReplayedEndRecPtr = ThisTimeLineID;
+               xlogctl->lastReplayedTLI = ThisTimeLineID;
                xlogctl->recoveryLastXTime = 0;
                xlogctl->currentChunkStartTime = 0;
                xlogctl->recoveryPause = false;