mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
Do not free simple hash entries
This commit is contained in:
@@ -124,7 +124,6 @@ bool is_sequential_access(RelFileNode rnode, ForkNumber forkNum, BlockNumber blk
|
||||
/* Hash overflow: find candidate for replacement */
|
||||
AccessStatEntry* victim = dlist_container(AccessStatEntry, lru_node, dlist_pop_head_node(&lru));
|
||||
as_delete_item(hash, victim);
|
||||
pfree(victim);
|
||||
}
|
||||
entry = as_insert(hash, rnode, &found);
|
||||
Assert(!found);
|
||||
|
||||
Reference in New Issue
Block a user