Skip to content

Commit

Permalink
Merge pull request #9829 from Mytherin/updatememory
Browse files Browse the repository at this point in the history
Clear all updates during checkpoint
  • Loading branch information
Mytherin committed Nov 28, 2023
2 parents 4a788da + 85600cf commit ce866ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/storage/table/column_data.cpp
Expand Up @@ -441,6 +441,7 @@ unique_ptr<ColumnCheckpointState> ColumnData::Checkpoint(RowGroup &row_group,

// replace the old tree with the new one
data.Replace(l, checkpoint_state->new_tree);
updates.reset();
version++;

return checkpoint_state;
Expand Down

0 comments on commit ce866ce

Please sign in to comment.