@@ -1273,9 +1273,8 @@ RecordTransactionCommit(void)
1273
1273
/*
1274
1274
* Now we may update the CLOG, if we wrote a COMMIT record above
1275
1275
*/
1276
- if (markXidCommitted ) {
1276
+ if (markXidCommitted )
1277
1277
TransactionIdCommitTree (xid ,nchildren ,children );
1278
- }
1279
1278
}
1280
1279
else
1281
1280
{
@@ -1297,9 +1296,8 @@ RecordTransactionCommit(void)
1297
1296
* XLOG. Instead, we store the LSN up to which the XLOG must be
1298
1297
* flushed before the CLOG may be updated.
1299
1298
*/
1300
- if (markXidCommitted ) {
1299
+ if (markXidCommitted )
1301
1300
TransactionIdAsyncCommitTree (xid ,nchildren ,children ,XactLastRecEnd );
1302
- }
1303
1301
}
1304
1302
1305
1303
/*
@@ -5372,7 +5370,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
5372
5370
* recovered. It's unlikely but it's good to be safe.
5373
5371
*/
5374
5372
TransactionIdAsyncCommitTree (
5375
- xid ,parsed -> nsubxacts ,parsed -> subxacts ,lsn );
5373
+ xid ,parsed -> nsubxacts ,parsed -> subxacts ,lsn );
5376
5374
5377
5375
/*
5378
5376
* We must mark clog before we update the ProcArray.
@@ -5399,6 +5397,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
5399
5397
*/
5400
5398
StandbyReleaseLockTree (xid ,0 ,NULL );
5401
5399
}
5400
+
5402
5401
if (parsed -> xinfo & XACT_XINFO_HAS_ORIGIN )
5403
5402
{
5404
5403
/* recover apply progress */
@@ -5609,8 +5608,9 @@ xact_redo(XLogReaderState *record)
5609
5608
elog (PANIC ,"xact_redo: unknown op code %u" ,info );
5610
5609
}
5611
5610
5612
- void MarkAsAborted ()
5611
+ void
5612
+ MarkAsAborted ()
5613
5613
{
5614
- CurrentTransactionState -> state = TRANS_INPROGRESS ;
5615
- CurrentTransactionState -> blockState = TBLOCK_STARTED ;
5614
+ CurrentTransactionState -> state = TRANS_INPROGRESS ;
5615
+ CurrentTransactionState -> blockState = TBLOCK_STARTED ;
5616
5616
}