You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +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.
|
// at least one operand is NULL.
|
||||||
// do nothing, return 0.
|
// 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
|
return datatypes::TSInt128(); // returns 0
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return 0;
|
return result_t{0};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch (fOp)
|
switch (fOp)
|
||||||
|
Reference in New Issue
Block a user