Fix embarrasing bug number 1

This commit is contained in:
Raúl Marín 2023-11-27 22:52:03 +01:00
parent 80cc1b3a17
commit 0754ee4901

View File

@ -142,6 +142,7 @@ struct AggregateFunctionSumData
), addManyConditionalInternalImpl, MULTITARGET_FUNCTION_BODY((const Value * __restrict ptr, const UInt8 * __restrict condition_map, size_t start, size_t end) /// NOLINT
{
ptr += start;
condition_map += start;
size_t count = end - start;
const auto * end_ptr = ptr + count;