Skip to content

Commit 202e523

Browse files
committed
Mistyping by me.
Fixed by Hiroshi.
1 parent 3c6491f commit 202e523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/commands/vacuum.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.100 1999/05/01 19:09:46 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.101 1999/05/09 14:00:29 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1350,7 +1350,7 @@ vc_rpfheap(VRelStats *vacrelstats, Relation onerel,
13501350
*/
13511351
ToPage = BufferGetPage(cur_buffer);
13521352
/* if this page was not used before - clean it */
1353-
if (!PageIsEmpty(ToPage) && vtmove[i].cleanVpd)
1353+
if (!PageIsEmpty(ToPage) && vtmove[ti].cleanVpd)
13541354
vc_vacpage(ToPage, vtmove[ti].vpd);
13551355
heap_copytuple_with_tuple(&tuple, &newtup);
13561356
RelationInvalidateHeapTuple(onerel, &tuple);
@@ -1369,7 +1369,7 @@ moving chain: failed to add item with len = %u to page %u",
13691369
newitemid = PageGetItemId(ToPage, newoff);
13701370
pfree(newtup.t_data);
13711371
newtup.t_data = (HeapTupleHeader) PageGetItem(ToPage, newitemid);
1372-
ItemPointerSet(&(newtup.t_self), vtmove[i].vpd->vpd_blkno, newoff);
1372+
ItemPointerSet(&(newtup.t_self), vtmove[ti].vpd->vpd_blkno, newoff);
13731373
/*
13741374
* Set t_ctid pointing to itself for last tuple in
13751375
* chain and to next tuple in chain otherwise.

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