提交 16da9d78 编写于 作者: dengyihao's avatar dengyihao

fix: fix filter error result

上级 5af1faf9
......@@ -1123,11 +1123,11 @@ int32_t metaFilterCreateTime(SMeta *pMeta, SMetaFltParam *param, SArray *pUids)
if (cmp == 0)
taosArrayPush(pUids, &p->uid);
else {
count++;
if (count >= TRY_ERROR_LIMIT) {
break;
}
}
count++;
valid = param->reverse ? tdbTbcMoveToPrev(pCursor->pCur) : tdbTbcMoveToNext(pCursor->pCur);
if (valid < 0) break;
} while (1);
......@@ -1181,11 +1181,11 @@ int32_t metaFilterTableName(SMeta *pMeta, SMetaFltParam *param, SArray *pUids) {
tb_uid_t tuid = *(tb_uid_t *)pEntryVal;
taosArrayPush(pUids, &tuid);
} else {
count++;
if (count >= TRY_ERROR_LIMIT) {
break;
}
}
count++;
valid = param->reverse ? tdbTbcMoveToPrev(pCursor->pCur) : tdbTbcMoveToNext(pCursor->pCur);
if (valid < 0) {
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册