We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67044d6 commit a21e4b3Copy full SHA for a21e4b3
src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
@@ -268,9 +268,9 @@ void ReplicatedMergeTreeQueue::removeCoveredPartsFromMutations(const String & pa
268
269
bool some_mutations_are_probably_done = false;
270
271
- for (auto it = in_partition->second.begin(); it != in_partition->second.end(); ++it)
+ for (auto & it : in_partition->second)
272
{
273
- MutationStatus & status = *it->second;
+ MutationStatus & status = *it.second;
274
275
if (remove_part && remove_covered_parts)
276
status.parts_to_do.removePartAndCoveredParts(part_name);
0 commit comments