mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-06 08:30:54 +00:00
Misused if
This commit is contained in:
parent
96a789336f
commit
f54ade41f2
@ -1404,7 +1404,7 @@ NameSet MergeTreeDataMergerMutator::collectFilesToRemove(
|
||||
remove_files.emplace("skp_idx_" + command.column_name + mrk_extension);
|
||||
}
|
||||
/// We don't remove column files for compact parts because they stored in single file
|
||||
else if (command.type == MutationCommand::Type::DROP_COLUMN && isCompactPart(source_part))
|
||||
else if (command.type == MutationCommand::Type::DROP_COLUMN && !isCompactPart(source_part))
|
||||
{
|
||||
IDataType::StreamCallback callback = [&](const IDataType::SubstreamPath & substream_path)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user