mirror of
https://github.com/postgres/postgres.git
synced 2025-07-23 03:21:12 +03:00
Fix unused variable when Assert() not used.
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.282 2004/07/01 00:50:11 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/commands/vacuum.c,v 1.283 2004/07/20 22:56:29 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1525,7 +1525,9 @@ repair_frag(VRelStats *vacrelstats, Relation onerel,
|
|||||||
VacPageList vacuum_pages, VacPageList fraged_pages,
|
VacPageList vacuum_pages, VacPageList fraged_pages,
|
||||||
int nindexes, Relation *Irel)
|
int nindexes, Relation *Irel)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_ASSERT_CHECKING
|
||||||
TransactionId myXID = GetCurrentTransactionId();
|
TransactionId myXID = GetCurrentTransactionId();
|
||||||
|
#endif
|
||||||
Buffer dst_buffer = InvalidBuffer;
|
Buffer dst_buffer = InvalidBuffer;
|
||||||
BlockNumber nblocks,
|
BlockNumber nblocks,
|
||||||
blkno;
|
blkno;
|
||||||
|
Reference in New Issue
Block a user