mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
23 lines
612 B
C++
23 lines
612 B
C++
#pragma once
|
|
|
|
#include <Storages/MergeTree/MergeTreeData.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Calculates checksums and compares them with checksums.txt.
|
|
IMergeTreeDataPart::Checksums checkDataPart(
|
|
MergeTreeData::DataPartPtr data_part,
|
|
bool require_checksums,
|
|
std::function<bool()> is_cancelled = []{ return false; });
|
|
|
|
IMergeTreeDataPart::Checksums checkDataPart(
|
|
const DiskPtr & disk,
|
|
const String & full_relative_path,
|
|
const NamesAndTypesList & columns_list,
|
|
const MergeTreeDataPartType & part_type,
|
|
bool require_checksums,
|
|
std::function<bool()> is_cancelled = []{ return false; });
|
|
}
|