fix bug
This commit is contained in:
parent
83153f6a3e
commit
c0c7043d20
|
@ -437,11 +437,6 @@ static SResultRow* doSetResultOutBufByKey(SQueryRuntimeEnv* pRuntimeEnv, SResult
|
||||||
int64_t* index = taosHashGet(pRuntimeEnv->pResultRowListSet, pRuntimeEnv->keyBuf, GET_RES_EXT_WINDOW_KEY_LEN(bytes));
|
int64_t* index = taosHashGet(pRuntimeEnv->pResultRowListSet, pRuntimeEnv->keyBuf, GET_RES_EXT_WINDOW_KEY_LEN(bytes));
|
||||||
if (index != NULL) {
|
if (index != NULL) {
|
||||||
pResultRowInfo->curPos = (int32_t) *index;
|
pResultRowInfo->curPos = (int32_t) *index;
|
||||||
if (pResultRowInfo->size > 1) {
|
|
||||||
for(int32_t k = 0; k <pResultRowInfo->size - 1; ++k) {
|
|
||||||
assert(pResultRowInfo->pResult[k]->win.skey < pResultRowInfo->pResult[k+1]->win.skey);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
existed = true;
|
existed = true;
|
||||||
} else {
|
} else {
|
||||||
existed = false;
|
existed = false;
|
||||||
|
|
Loading…
Reference in New Issue