dbms: tiny improvement [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2013-07-28 01:42:36 +00:00
parent 59a743f0ef
commit de9783ce11

View File

@ -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.