mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
fix clang-tidy
This commit is contained in:
parent
7990c8cbad
commit
f12923313d
@ -219,7 +219,7 @@ void optimizeGroupByFunctionKeys(ASTSelectQuery * select_query)
|
||||
modified.reserve(group_by_keys.size());
|
||||
|
||||
/// filling the result
|
||||
for (auto & group_key : group_by_keys)
|
||||
for (const auto & group_key : group_by_keys)
|
||||
if (group_by_keys_data.key_names.count(group_key->getColumnName()))
|
||||
modified.push_back(group_key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user