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)
833
833
XLogRecPtr found = InvalidXLogRecPtr ;
834
834
uint32 pageHeaderSize ;
835
835
XLogPageHeader header ;
836
- XLogRecord * record ;
837
836
int readLen ;
838
837
char * errormsg ;
839
838
@@ -875,7 +874,7 @@ XLogFindNextRecord(XLogReaderState *state, XLogRecPtr RecPtr)
875
874
* because either we're at the first record after the beginning of a page
876
875
* or we just jumped over the remaining data of a continuation.
877
876
*/
878
- while (( record = XLogReadRecord (state , tmpRecPtr , & errormsg )) )
877
+ while (XLogReadRecord (state , tmpRecPtr , & errormsg ) != NULL )
879
878
{
880
879
/* continue after the record */
881
880
tmpRecPtr = InvalidXLogRecPtr ;
You can’t perform that action at this time.
0 commit comments