Content-Length: 261339 | pFad | http://github.com/postgrespro/postgres_cluster/commit/a41bdab8a496e038b992ce690e920001628b434b

E5 Fix unused variable warning on build without asserts · postgrespro/postgres_cluster@a41bdab · GitHub
Skip to content

Commit a41bdab

Browse files
committed
Fix unused variable warning on build without asserts
(cherry picked from commit 3de100c)
1 parent 81efb85 commit a41bdab

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: http://github.com/postgrespro/postgres_cluster/commit/a41bdab8a496e038b992ce690e920001628b434b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy