Content-Length: 259140 | pFad | https://github.com/postgrespro/postgres_cluster/commit/3de100c514d61890faab760a6f1f0d3b46face5a

B5 Fix unused variable warning on build without asserts · postgrespro/postgres_cluster@3de100c · GitHub
Skip to content

Commit 3de100c

Browse files
committed
Fix unused variable warning on build without asserts
1 parent a3554d5 commit 3de100c

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-
GlobalCSN global_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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres_cluster/commit/3de100c514d61890faab760a6f1f0d3b46face5a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy