mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Miscellaneous [#CLICKHOUSE-3].
This commit is contained in:
parent
0919ae6338
commit
90ca758522
@ -693,7 +693,7 @@ void NO_INLINE Aggregator::executeWithoutKeyImpl(
|
||||
/// Optimization in the case of a single aggregate function `count`.
|
||||
AggregateFunctionCount * agg_count = params.aggregates_size == 1
|
||||
? typeid_cast<AggregateFunctionCount *>(aggregate_functions[0])
|
||||
: NULL;
|
||||
: nullptr;
|
||||
|
||||
if (agg_count)
|
||||
agg_count->addDelta(res, rows);
|
||||
|
@ -222,7 +222,7 @@ void NO_INLINE Aggregator::executeSpecializedWithoutKey(
|
||||
/// Optimization in the case of a single aggregate function `count`.
|
||||
AggregateFunctionCount * agg_count = params.aggregates_size == 1
|
||||
? typeid_cast<AggregateFunctionCount *>(aggregate_functions[0])
|
||||
: NULL;
|
||||
: nullptr;
|
||||
|
||||
if (agg_count)
|
||||
agg_count->addDelta(res, rows);
|
||||
|
Loading…
Reference in New Issue
Block a user