diff --git a/src/Functions/FunctionBinaryArithmetic.h b/src/Functions/FunctionBinaryArithmetic.h index fa2ff8fc275..967c2b73881 100644 --- a/src/Functions/FunctionBinaryArithmetic.h +++ b/src/Functions/FunctionBinaryArithmetic.h @@ -644,7 +644,8 @@ private: { if ((*right_nullmap)[0]) { - c[0] = ResultType(); + for (size_t i = 0; i < size; ++i) + c[i] = ResultType(); return; }