fix bug
This commit is contained in:
parent
cbfd466d61
commit
69de20c303
|
@ -1667,7 +1667,7 @@ static void rowwiseApplyFunctions(SQueryRuntimeEnv *pRuntimeEnv, SDataStatis *pS
|
||||||
|
|
||||||
_end:
|
_end:
|
||||||
assert(offset >= 0 && tsCols != NULL);
|
assert(offset >= 0 && tsCols != NULL);
|
||||||
if (prevTs != INT64_MIN) {
|
if (prevTs != INT64_MIN && prevTs != *(int64_t*)pRuntimeEnv->prevRow[0]) {
|
||||||
assert(prevRowIndex >= 0);
|
assert(prevRowIndex >= 0);
|
||||||
item->lastKey = prevTs + step;
|
item->lastKey = prevTs + step;
|
||||||
}
|
}
|
||||||
|
@ -7715,4 +7715,4 @@ void** qReleaseQInfo(void* pMgmt, void* pQInfo, bool freeHandle) {
|
||||||
|
|
||||||
taosCacheRelease(pQueryMgmt->qinfoPool, pQInfo, freeHandle);
|
taosCacheRelease(pQueryMgmt->qinfoPool, pQInfo, freeHandle);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue