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
MCOL-1822 Intermediate checkin. DISTINCT not working.
This commit is contained in:
@ -129,6 +129,25 @@ double Func_ifnull::getDoubleVal(Row& row,
|
||||
return r;
|
||||
}
|
||||
|
||||
long double Func_ifnull::getLongDoubleVal(Row& row,
|
||||
FunctionParm& parm,
|
||||
bool& isNull,
|
||||
CalpontSystemCatalog::ColType&)
|
||||
{
|
||||
if (isNull)
|
||||
return 0.0;
|
||||
|
||||
long double r = parm[0]->data()->getLongDoubleVal(row, isNull);
|
||||
|
||||
if (isNull)
|
||||
{
|
||||
isNull = false;
|
||||
return parm[1]->data()->getLongDoubleVal(row, isNull);
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
int32_t Func_ifnull::getDateIntVal(Row& row,
|
||||
FunctionParm& parm,
|
||||
|
Reference in New Issue
Block a user