mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix unused variable in checkDataPart.cpp
This commit is contained in:
parent
6e224c1ff7
commit
3a74f326a8
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user