From e55f7e63333f5400023210ac194969e17d31d9de Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 26 Mar 2021 02:21:59 +0300 Subject: [PATCH] Fix error --- src/Compression/CompressedReadBufferBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Compression/CompressedReadBufferBase.cpp b/src/Compression/CompressedReadBufferBase.cpp index 65ba9607468..eb4d6ea5986 100644 --- a/src/Compression/CompressedReadBufferBase.cpp +++ b/src/Compression/CompressedReadBufferBase.cpp @@ -237,8 +237,8 @@ void CompressedReadBufferBase::decompress(BufferBase::Buffer & to, size_t size_d to = BufferBase::Buffer(compressed_buffer + header_size, compressed_buffer + size_compressed_without_checksum); } - - codec->decompress(compressed_buffer, size_compressed_without_checksum, to.begin()); + else + codec->decompress(compressed_buffer, size_compressed_without_checksum, to.begin()); }