Skip to content

Commit

Permalink
Make extra columns have capacity 0
Browse files Browse the repository at this point in the history
  • Loading branch information
royi-luo committed Feb 14, 2025
1 parent acf9899 commit eba79fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/store/chunked_node_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ChunkedNodeGroup::ChunkedNodeGroup(MemoryManager& mm, ChunkedNodeGroup& base,

for (column_id_t i = 0; i < columnTypes.size(); ++i) {
if (chunks[i] == nullptr) {
chunks[i] = std::make_unique<ColumnChunk>(mm, columnTypes[i].copy(), capacity,
chunks[i] = std::make_unique<ColumnChunk>(mm, columnTypes[i].copy(), 0,
enableCompression, ResidencyState::IN_MEMORY);
}
}
Expand Down

0 comments on commit eba79fa

Please sign in to comment.