Skip to content

Commit 0a77efb

Browse files
committed
fixes
1 parent 4cb6446 commit 0a77efb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/backend/access/transam/twophase.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,6 @@ RecreateTwoPhaseFile(TransactionId xid, void *content, int len)
16751675
errmsg("could not close two-phase state file: %m")));
16761676
}
16771677

1678-
16791678
/*
16801679
* CheckPointTwoPhase -- handle 2PC component of checkpointing.
16811680
*
@@ -1957,7 +1956,7 @@ PrescanPreparedTransactions(TransactionId **xids_p, int *nxids_p)
19571956
* It's a caller responsibility to call MarkAsPrepared() on returned gxact.
19581957
*
19591958
*/
1960-
GlobalTransaction
1959+
static GlobalTransaction
19611960
RecoverPreparedFromBuffer(char *buf, bool forceOverwriteOK)
19621961
{
19631962
char *bufptr;

src/include/access/twophase.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,4 @@ extern void CheckPointTwoPhase(XLogRecPtr redo_horizon);
5858
extern void FinishPreparedTransaction(const char *gid, bool isCommit);
5959

6060
extern void XlogRedoFinishPrepared(TransactionId xid, bool isCommit);
61-
62-
extern GlobalTransaction RecoverPreparedFromBuffer(char *buf, bool forceOverwriteOK);
6361
#endif /* TWOPHASE_H */

0 commit comments

Comments
 (0)