You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
Merge branch 'develop-1.1' into develop
This commit is contained in:
@ -128,7 +128,7 @@ void WF_lead_lag<T>::parseParms(const std::vector<execplan::SRCP>& parms)
|
||||
fLead = 1;
|
||||
fRespectNulls = true;
|
||||
fDefNull = false;
|
||||
fDefault = (T)0;
|
||||
// fDefault = (T)0; // Won't work for std::string. Default should always be set below.
|
||||
fOffsetNull = false;
|
||||
fOffset = 0;
|
||||
|
||||
|
@ -538,8 +538,8 @@ void* WindowFunctionType::getNullValueByType(int ct, int pos)
|
||||
case CalpontSystemCatalog::CHAR:
|
||||
case CalpontSystemCatalog::VARCHAR:
|
||||
{
|
||||
uint64_t len = fRow.getColumnWidth(pos);
|
||||
|
||||
// uint64_t len = fRow.getColumnWidth(pos);
|
||||
#if 0
|
||||
switch (len)
|
||||
{
|
||||
case 1:
|
||||
@ -567,6 +567,8 @@ void* WindowFunctionType::getNullValueByType(int ct, int pos)
|
||||
break;
|
||||
}
|
||||
|
||||
#endif
|
||||
v = &stringNull;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user