From 50a31d1296a2e7f81e4c66c3e063888193e5157d Mon Sep 17 00:00:00 2001 From: Serguey Zefirov Date: Tue, 10 Dec 2024 14:03:14 +0300 Subject: [PATCH] Fix build --- dbcon/execplan/arithmeticoperator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbcon/execplan/arithmeticoperator.h b/dbcon/execplan/arithmeticoperator.h index 81a37f7b1..53ae27327 100644 --- a/dbcon/execplan/arithmeticoperator.h +++ b/dbcon/execplan/arithmeticoperator.h @@ -327,13 +327,13 @@ inline result_t ArithmeticOperator::execute(result_t op1, result_t op2, bool& is { // at least one operand is NULL. // do nothing, return 0. - if constexpr (std::is_same::value) + if constexpr (std::is_same::value) { return datatypes::TSInt128(); // returns 0 } else { - return 0; + return result_t{0}; } } switch (fOp)