Avoid using exception unsafe method

This commit is contained in:
Maksim Kita 2021-06-10 09:08:38 +03:00
parent d24d3ae992
commit 0fb8ea530f

View File

@ -856,9 +856,9 @@ void NO_INLINE Aggregator::executeImplBatch(
#if USE_EMBEDDED_COMPILER #if USE_EMBEDDED_COMPILER
if (compiled_functions) if (compiled_functions)
{ {
if (params.aggregation_method == 0) // if (params.aggregation_method == 0)
handleAggregationJIT<no_more_keys>(method, state, aggregates_pool, rows, aggregate_instructions); // handleAggregationJIT<no_more_keys>(method, state, aggregates_pool, rows, aggregate_instructions);
else // else
handleAggregationJITV2<no_more_keys>(method, state, aggregates_pool, rows, aggregate_instructions); handleAggregationJITV2<no_more_keys>(method, state, aggregates_pool, rows, aggregate_instructions);
} }
else else