From cf11e2b1e007dfe4d23c1651d0446ddb70af681e Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 29 Dec 2020 22:31:07 +0300 Subject: [PATCH] check-marks: add decompressed size --- utils/check-marks/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/check-marks/main.cpp b/utils/check-marks/main.cpp index 5590616bde6..6e93b207957 100644 --- a/utils/check-marks/main.cpp +++ b/utils/check-marks/main.cpp @@ -42,9 +42,10 @@ static void checkByCompressedReadBuffer(const std::string & mrk_path, const std: out << ", has rows after " << index_granularity_rows; } - out << ".\n" << DB::flush; - bin_in.seek(offset_in_compressed_file, offset_in_decompressed_block); + out << ", decompressed size " << bin_in.available(); + + out << ".\n" << DB::flush; } }