mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
dbms: tiny improvement [#CONV-2944].
This commit is contained in:
parent
59a743f0ef
commit
de9783ce11
@ -211,7 +211,7 @@ void Aggregator::execute(BlockInputStreamPtr stream, AggregatedDataVariants & re
|
||||
res = result.aggregates_pool->alloc(total_size_of_aggregate_states);
|
||||
|
||||
for (size_t i = 0; i < aggregates_size; ++i)
|
||||
aggregates[i].function->create(res + offsets_of_aggregate_states[i]);
|
||||
aggregate_functions[i]->create(res + offsets_of_aggregate_states[i]);
|
||||
}
|
||||
|
||||
/// Оптимизация в случае единственной агрегатной функции count.
|
||||
|
Loading…
Reference in New Issue
Block a user