mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
fix after merge
This commit is contained in:
parent
b92030b485
commit
4d40ed851f
@ -163,7 +163,7 @@ void Lz4DeflatingWriteBuffer::finalizeBefore()
|
||||
/// Don't write out if no data was ever compressed
|
||||
if (!compress_empty && first_time)
|
||||
return;
|
||||
|
||||
|
||||
auto suffix_size = LZ4F_compressBound(0, &kPrefs);
|
||||
auto sink = SinkToOut(out.get(), tmp_memory, suffix_size);
|
||||
chassert(sink.getCapacity() >= suffix_size);
|
||||
|
@ -23,10 +23,6 @@ public:
|
||||
size_t alignment = 0,
|
||||
bool compress_empty_ = true)
|
||||
: WriteBufferWithOwnMemoryDecorator(std::move(out_), buf_size, existing_memory, alignment)
|
||||
, in_data(nullptr)
|
||||
, out_data(nullptr)
|
||||
, in_capacity(0)
|
||||
, out_capacity(0)
|
||||
, compress_empty(compress_empty_)
|
||||
{
|
||||
initialize(compression_level);
|
||||
|
Loading…
Reference in New Issue
Block a user