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

Commit4a59a18

Browse files
committed
fix GetLockedGlobalTransactionId prototype
1 parent1898600 commit4a59a18

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎src/backend/access/transam/twophase.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,8 @@ RecordTransactionAbortPrepared(TransactionId xid,
22212221
/*
22222222
* Return identified of current global transaction
22232223
*/
2224-
constchar*GetLockedGlobalTransactionId()
2224+
constchar*
2225+
GetLockedGlobalTransactionId(void)
22252226
{
2226-
returnMyLockedGxact ?MyLockedGxact->gid :NULL;
2227+
returnMyLockedGxact ?MyLockedGxact->gid :NULL;
22272228
}

‎src/include/access/twophase.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ extern void CheckPointTwoPhase(XLogRecPtr redo_horizon);
5656

5757
externvoidFinishPreparedTransaction(constchar*gid,boolisCommit);
5858

59-
externconstchar*GetLockedGlobalTransactionId();
59+
externconstchar*GetLockedGlobalTransactionId(void);
6060

6161
#endif/* TWOPHASE_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp