Skip to content

Commit

Permalink
Add CompressionInfo constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Oct 19, 2024
1 parent 4a99282 commit f3bc5df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/duckdb/function/compression_function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class CompressionInfo {
public:
explicit CompressionInfo(const idx_t block_size) : block_size(block_size) {
}

explicit CompressionInfo(const CompressionInfo &other) : CompressionInfo(other.block_size) {
}
public:
//! The size below which the segment is compacted on flushing.
idx_t GetCompactionFlushLimit() const {
Expand Down

0 comments on commit f3bc5df

Please sign in to comment.