Skip to content

Commit 6f0d96f

Browse files
committed
Fix unused variable when Assert() not used.
1 parent 851bcee commit 6f0d96f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/commands/vacuum.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
*
1515
* IDENTIFICATION
16-
* $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.282 2004/07/01 00:50:11 tgl Exp $
16+
* $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.283 2004/07/20 22:56:29 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -1525,7 +1525,9 @@ repair_frag(VRelStats *vacrelstats, Relation onerel,
15251525
VacPageList vacuum_pages, VacPageList fraged_pages,
15261526
int nindexes, Relation *Irel)
15271527
{
1528+
#ifdef USE_ASSERT_CHECKING
15281529
TransactionId myXID = GetCurrentTransactionId();
1530+
#endif
15291531
Buffer dst_buffer = InvalidBuffer;
15301532
BlockNumber nblocks,
15311533
blkno;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy