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-4464 Bitwise operations not like in MariaDB
This commit is contained in:
@ -311,10 +311,24 @@ public:
|
||||
return fFunctor->getTimeIntVal(row, fFunctionParms, isNull, fOperationType);
|
||||
}
|
||||
|
||||
bool fixIfNeeded() override
|
||||
{
|
||||
if (fFixed)
|
||||
return false;
|
||||
if (fFunctor->fix(*this))
|
||||
return true;
|
||||
fFixed = true;
|
||||
return false;
|
||||
}
|
||||
void setFunctor(funcexp::Func* functor)
|
||||
{
|
||||
fFunctor = functor;
|
||||
}
|
||||
private:
|
||||
funcexp::FunctionParm fFunctionParms;
|
||||
funcexp::Func* fFunctor; /// functor to execute this function
|
||||
funcexp::Func* fDynamicFunctor = NULL; // for rand encode decode
|
||||
bool fFixed = false;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user