Better check-marks tool [#CLICKHOUSE-2841].

This commit is contained in:
Alexey Milovidov 2017-02-17 04:47:07 +03:00
parent 5c8a51678c
commit 2d251802ac

View File

@ -28,6 +28,9 @@ namespace DB
/// Read and check header of compressed block. Print size of decompressed and compressed data.
std::pair<UInt32, UInt32> stat(DB::ReadBuffer & in, DB::WriteBuffer & out)
{
if (in.eof())
return {};
in.ignore(16); /// checksum
char header[COMPRESSED_BLOCK_HEADER_SIZE];