@@ -1273,9 +1273,8 @@ RecordTransactionCommit(void)
12731273 /*
12741274 * Now we may update the CLOG, if we wrote a COMMIT record above
12751275 */
1276- if (markXidCommitted ) {
1276+ if (markXidCommitted )
12771277 TransactionIdCommitTree (xid , nchildren , children );
1278- }
12791278 }
12801279 else
12811280 {
@@ -1297,9 +1296,8 @@ RecordTransactionCommit(void)
12971296 * XLOG. Instead, we store the LSN up to which the XLOG must be
12981297 * flushed before the CLOG may be updated.
12991298 */
1300- if (markXidCommitted ) {
1299+ if (markXidCommitted )
13011300 TransactionIdAsyncCommitTree (xid , nchildren , children , XactLastRecEnd );
1302- }
13031301 }
13041302
13051303 /*
@@ -5372,7 +5370,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
53725370 * recovered. It's unlikely but it's good to be safe.
53735371 */
53745372 TransactionIdAsyncCommitTree (
5375- xid , parsed -> nsubxacts , parsed -> subxacts , lsn );
5373+ xid , parsed -> nsubxacts , parsed -> subxacts , lsn );
53765374
53775375 /*
53785376 * We must mark clog before we update the ProcArray.
@@ -5399,6 +5397,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
53995397 */
54005398 StandbyReleaseLockTree (xid , 0 , NULL );
54015399 }
5400+
54025401 if (parsed -> xinfo & XACT_XINFO_HAS_ORIGIN )
54035402 {
54045403 /* recover apply progress */
@@ -5609,8 +5608,9 @@ xact_redo(XLogReaderState *record)
56095608 elog (PANIC , "xact_redo: unknown op code %u" , info );
56105609}
56115610
5612- void MarkAsAborted ()
5611+ void
5612+ MarkAsAborted ()
56135613{
5614- CurrentTransactionState -> state = TRANS_INPROGRESS ;
5615- CurrentTransactionState -> blockState = TBLOCK_STARTED ;
5614+ CurrentTransactionState -> state = TRANS_INPROGRESS ;
5615+ CurrentTransactionState -> blockState = TBLOCK_STARTED ;
56165616}
0 commit comments