Fix update of current block in access statistic

This commit is contained in:
Konstantin Knizhnik
2023-06-21 09:04:45 +03:00
parent 172239c7ee
commit 72a73d2c82

View File

@@ -162,6 +162,7 @@ bool is_sequential_access(RelFileNode rnode, ForkNumber forkNum, BlockNumber blk
}
/* Place entry to the tail of LRU list */
dlist_push_tail(&lru, &entry->lru_node);
entry->blkno = blkno;
}
return is_seq_access;
}