You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
MCOL-1983 For MCOL-1676 the reset of fValOut to NULL happens too soon.
This commit is contained in:
@@ -708,12 +708,12 @@ void WF_udaf::operator()(int64_t b, int64_t e, int64_t c)
|
|||||||
mcsv1sdk::mcsv1_UDAF::ReturnCode rc;
|
mcsv1sdk::mcsv1_UDAF::ReturnCode rc;
|
||||||
uint64_t colOut = fFieldIndex[0];
|
uint64_t colOut = fFieldIndex[0];
|
||||||
bool isNull = false;
|
bool isNull = false;
|
||||||
fValOut.reset();
|
|
||||||
|
|
||||||
if ((fFrameUnit == WF__FRAME_ROWS) ||
|
if ((fFrameUnit == WF__FRAME_ROWS) ||
|
||||||
(fPrev == -1) ||
|
(fPrev == -1) ||
|
||||||
(!fPeer->operator()(getPointer(fRowData->at(c)), getPointer(fRowData->at(fPrev)))))
|
(!fPeer->operator()(getPointer(fRowData->at(c)), getPointer(fRowData->at(fPrev)))))
|
||||||
{
|
{
|
||||||
|
fValOut.reset();
|
||||||
// for unbounded - current row special handling
|
// for unbounded - current row special handling
|
||||||
if (fPrev >= b && fPrev < c)
|
if (fPrev >= b && fPrev < c)
|
||||||
b = c;
|
b = c;
|
||||||
|
Reference in New Issue
Block a user