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

Commit6f0d96f

Browse files
committed
Fix unused variable when Assert() not used.
1 parent851bcee commit6f0d96f

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
VacPageListvacuum_pages,VacPageListfraged_pages,
15261526
intnindexes,Relation*Irel)
15271527
{
1528+
#ifdefUSE_ASSERT_CHECKING
15281529
TransactionIdmyXID=GetCurrentTransactionId();
1530+
#endif
15291531
Bufferdst_buffer=InvalidBuffer;
15301532
BlockNumbernblocks,
15311533
blkno;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp