You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-641 Add support for functions (Part 2).
This commit is contained in:
committed by
Roman Nozdrin
parent
bd0d5af123
commit
6aea838360
@ -237,6 +237,9 @@ inline bool getBool(rowgroup::Row& row,
|
||||
{
|
||||
IDB_Decimal val = pm[0]->data()->getDecimalVal(row, isNull);
|
||||
|
||||
if (isNull)
|
||||
return false;
|
||||
|
||||
if (notBetween)
|
||||
{
|
||||
if (!numericGE(val, pm[1]->data()->getDecimalVal(row, isNull)) && !isNull)
|
||||
@ -246,8 +249,7 @@ inline bool getBool(rowgroup::Row& row,
|
||||
return (!numericLE(val, pm[2]->data()->getDecimalVal(row, isNull)) && !isNull);
|
||||
}
|
||||
|
||||
return !isNull &&
|
||||
numericGE(val, pm[1]->data()->getDecimalVal(row, isNull)) &&
|
||||
return numericGE(val, pm[1]->data()->getDecimalVal(row, isNull)) &&
|
||||
numericLE(val, pm[2]->data()->getDecimalVal(row, isNull));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user