fix mutations with parts

This commit is contained in:
Nikita Vasilev 2019-05-09 20:27:20 +03:00
parent ad07dd2e1f
commit 6c0722db04

View File

@ -898,7 +898,7 @@ MergeTreeData::MutableDataPartPtr MergeTreeDataMergerMutator::mutatePartToTempor
[&] (const MutationCommand & command)
{
return command.partition == nullptr ||
future_part.parts[0]->info.partition_id != data.getPartitionIDFromQuery(
future_part.parts[0]->info.partition_id == data.getPartitionIDFromQuery(
command.partition, context_for_reading);
});