Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a77efb

Browse files
committed
fixes
1 parent4cb6446 commit0a77efb

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+
staticGlobalTransaction
19611960
RecoverPreparedFromBuffer(char*buf,boolforceOverwriteOK)
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
externvoidFinishPreparedTransaction(constchar*gid,boolisCommit);
5959

6060
externvoidXlogRedoFinishPrepared(TransactionIdxid,boolisCommit);
61-
62-
externGlobalTransactionRecoverPreparedFromBuffer(char*buf,boolforceOverwriteOK);
6361
#endif/* TWOPHASE_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp