[td-3318]<fix>: fix crash caused by empty stddev query.
This commit is contained in:
parent
6396e651b9
commit
d422bba8dd
|
@ -4170,8 +4170,10 @@ static SSDataBlock* doTableScan(void* param) {
|
||||||
assert(ret);
|
assert(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
pResultRowInfo->curIndex = 0;
|
if (pResultRowInfo->size > 0) {
|
||||||
pResultRowInfo->prevSKey = pResultRowInfo->pResult[0]->win.skey;
|
pResultRowInfo->curIndex = 0;
|
||||||
|
pResultRowInfo->prevSKey = pResultRowInfo->pResult[0]->win.skey;
|
||||||
|
}
|
||||||
|
|
||||||
qDebug("QInfo:%p start to repeat scan data blocks due to query func required, qrange:%" PRId64 "-%" PRId64,
|
qDebug("QInfo:%p start to repeat scan data blocks due to query func required, qrange:%" PRId64 "-%" PRId64,
|
||||||
pRuntimeEnv->qinfo, cond.twindow.skey, cond.twindow.ekey);
|
pRuntimeEnv->qinfo, cond.twindow.skey, cond.twindow.ekey);
|
||||||
|
|
Loading…
Reference in New Issue