You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Fix build
This commit is contained in:
committed by
Leonid Fedorov
parent
6b2334cecf
commit
50a31d1296
@ -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<T, datatypes::TSInt128>::value)
|
||||
if constexpr (std::is_same<result_t, datatypes::TSInt128>::value)
|
||||
{
|
||||
return datatypes::TSInt128(); // returns 0
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
return result_t{0};
|
||||
}
|
||||
}
|
||||
switch (fOp)
|
||||
|
Reference in New Issue
Block a user