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-597 some clean up and make Release builds work
This commit is contained in:
@ -153,32 +153,6 @@ void WF_lead_lag<T>::parseParms(const std::vector<execplan::SRCP>& parms)
|
||||
idbassert(cc != NULL);
|
||||
bool isNull = false; // dummy, harded coded
|
||||
fRespectNulls = (cc->getIntVal(fRow, isNull) > 0);
|
||||
#if 0
|
||||
// parms[1]: offset
|
||||
for (std::vector<execplan::SRCP>::size_type i = 1/*ignore 0th element*/; i < parms.size(); ++i)
|
||||
{
|
||||
ConstantColumn* cc = dynamic_cast<ConstantColumn*>(parms[i].get());
|
||||
if (cc != NULL)
|
||||
{
|
||||
fOffset = cc->getIntVal(fRow, fOffsetNull) * fLead; // row not used, no need to setData.
|
||||
continue;
|
||||
}
|
||||
|
||||
cc = dynamic_cast<ConstantColumn*>(parms[i].get());
|
||||
if (cc != NULL)
|
||||
{
|
||||
getConstValue(cc, fDefault, fDefNull);
|
||||
continue;
|
||||
}
|
||||
// IGNORE/RESPECT nulls is currently broken in the front end
|
||||
cc = dynamic_cast<ConstantColumn*>(parms[i].get());
|
||||
if (cc != NULL)
|
||||
{
|
||||
bool isNull = false; // dummy, harded coded
|
||||
fRespectNulls = (cc->getIntVal(fRow, isNull) > 0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user