mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
Update src/Storages/MergeTree/ActiveDataPartSet.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
This commit is contained in:
parent
13ca296497
commit
bdafe17e9a
@ -32,7 +32,7 @@ bool ActiveDataPartSet::add(const MergeTreePartInfo & part_info, const String &
|
||||
AddPartOutcome outcome = addImpl(part_info, name, out_replaced_parts, &out_reason);
|
||||
if (outcome == AddPartOutcome::HasIntersectingPart)
|
||||
{
|
||||
chassert(out_reason.empty());
|
||||
chassert(!out_reason.empty());
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, fmt::runtime(out_reason));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user