Fix unused variable in checkDataPart.cpp

This commit is contained in:
Vitaly Baranov 2019-07-10 15:13:10 +03:00
parent 6e224c1ff7
commit 3a74f326a8

View File

@ -145,7 +145,7 @@ public:
if (index_granularity.hasFinalMark())
{
auto [final_mark, final_mark_rows] = readMarkFromFile();
auto final_mark_rows = readMarkFromFile().second;
if (final_mark_rows != 0)
throw Exception("Incorrect final mark at the end of " + mrk_file_path + " expected 0 rows, got " + toString(final_mark_rows), ErrorCodes::CORRUPTED_DATA);
}