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
MCOL-4174 Review/refactor frontend/connector code
This commit is contained in:
committed by
Roman Nozdrin
parent
68244ab957
commit
129d5b5a0f
@ -400,8 +400,8 @@ inline void ArithmeticOperator::execute(IDB_Decimal& result, IDB_Decimal op1, ID
|
||||
case OP_DIV:
|
||||
if (fOperationType.colWidth == datatypes::MAXDECIMALWIDTH)
|
||||
{
|
||||
if ((datatypes::Decimal::isWideDecimalType(op2.precision) && op2.s128Value == 0)
|
||||
|| (!datatypes::Decimal::isWideDecimalType(op2.precision) && op2.value == 0))
|
||||
if ((datatypes::Decimal::isWideDecimalTypeByPrecision(op2.precision) && op2.s128Value == 0)
|
||||
|| (!datatypes::Decimal::isWideDecimalTypeByPrecision(op2.precision) && op2.value == 0))
|
||||
{
|
||||
isNull = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user