File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -833,7 +833,6 @@ XLogFindNextRecord(XLogReaderState *state, XLogRecPtr RecPtr)
833833 XLogRecPtr found = InvalidXLogRecPtr ;
834834 uint32 pageHeaderSize ;
835835 XLogPageHeader header ;
836- XLogRecord * record ;
837836 int readLen ;
838837 char * errormsg ;
839838
@@ -875,7 +874,7 @@ XLogFindNextRecord(XLogReaderState *state, XLogRecPtr RecPtr)
875874 * because either we're at the first record after the beginning of a page
876875 * or we just jumped over the remaining data of a continuation.
877876 */
878- while (( record = XLogReadRecord (state , tmpRecPtr , & errormsg )) )
877+ while (XLogReadRecord (state , tmpRecPtr , & errormsg ) != NULL )
879878 {
880879 /* continue after the record */
881880 tmpRecPtr = InvalidXLogRecPtr ;
You can’t perform that action at this time.
0 commit comments