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

Commita41bdab

Browse files
committed
Fix unused variable warning on build without asserts
(cherry picked from commit3de100c)
1 parent81efb85 commita41bdab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,8 +1546,8 @@ FinishPreparedTransaction(const char *gid, bool isCommit)
15461546
}
15471547
else
15481548
{
1549-
GlobalCSNglobal_csn=pg_atomic_read_u64(&proc->assignedGlobalCsn);
1550-
Assert(GlobalCSNIsInProgress(global_csn));
1549+
Assert(GlobalCSNIsInProgress(
1550+
pg_atomic_read_u64(&proc->assignedGlobalCsn)));
15511551
}
15521552

15531553
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp