Fix double negative

This commit is contained in:
alesapin 2022-06-19 17:12:04 +02:00
parent 50801e41c5
commit 08b5dd091b

View File

@ -1455,7 +1455,7 @@ void IMergeTreeDataPart::remove() const
projection_checksums.emplace_back(IDataPartStorage::ProjectionChecksums{.name = p_name, .checksums = projection_part->checksums}); projection_checksums.emplace_back(IDataPartStorage::ProjectionChecksums{.name = p_name, .checksums = projection_part->checksums});
} }
data_part_storage->remove(!can_remove, files_not_to_remove, checksums, projection_checksums, storage.log); data_part_storage->remove(can_remove, files_not_to_remove, checksums, projection_checksums, storage.log);
} }
String IMergeTreeDataPart::getRelativePathForPrefix(const String & prefix, bool detached) const String IMergeTreeDataPart::getRelativePathForPrefix(const String & prefix, bool detached) const