@@ -6393,8 +6393,8 @@ CheckRecoveryConsistency(void)
63936393 if (XLByteLT (ControlFile -> minRecoveryPoint , EndRecPtr ))
63946394 ControlFile -> minRecoveryPoint = EndRecPtr ;
63956395
6396- MemSet ( & ControlFile -> backupStartPoint , 0 , sizeof ( XLogRecPtr )) ;
6397- MemSet ( & ControlFile -> backupEndPoint , 0 , sizeof ( XLogRecPtr )) ;
6396+ ControlFile -> backupStartPoint = InvalidXLogRecPtr ;
6397+ ControlFile -> backupEndPoint = InvalidXLogRecPtr ;
63986398 ControlFile -> backupEndRequired = false;
63996399 UpdateControlFile ();
64006400
@@ -7330,7 +7330,7 @@ CreateCheckPoint(int flags)
73307330 ControlFile -> checkPointCopy = checkPoint ;
73317331 ControlFile -> time = (pg_time_t ) time (NULL );
73327332 /* crash recovery should always recover to the end of WAL */
7333- MemSet ( & ControlFile -> minRecoveryPoint , 0 , sizeof ( XLogRecPtr )) ;
7333+ ControlFile -> minRecoveryPoint = InvalidXLogRecPtr ;
73347334 ControlFile -> minRecoveryPointTLI = 0 ;
73357335 UpdateControlFile ();
73367336 LWLockRelease (ControlFileLock );
@@ -8161,7 +8161,7 @@ xlog_redo(XLogRecPtr lsn, XLogRecord *record)
81618161 ControlFile -> minRecoveryPoint = lsn ;
81628162 ControlFile -> minRecoveryPointTLI = ThisTimeLineID ;
81638163 }
8164- MemSet ( & ControlFile -> backupStartPoint , 0 , sizeof ( XLogRecPtr )) ;
8164+ ControlFile -> backupStartPoint = InvalidXLogRecPtr ;
81658165 ControlFile -> backupEndRequired = false;
81668166 UpdateControlFile ();
81678167
0 commit comments