[TD-6046]<fix> fix ts top/bottom error

This commit is contained in:
wangmm0220 2021-08-21 11:10:59 +08:00
parent 9382752389
commit aa3102cd72
1 changed files with 1 additions and 1 deletions

View File

@ -2429,7 +2429,7 @@ size_t tscNumOfExprs(SQueryInfo* pQueryInfo) {
int32_t tscExprTopBottomIndex(SQueryInfo* pQueryInfo){
size_t numOfExprs = tscNumOfExprs(pQueryInfo);
for(size_t i = 0; i < numOfExprs; ++i) {
for(int32_t i = 0; i < numOfExprs; ++i) {
SExprInfo* pExpr = tscExprGet(pQueryInfo, i);
if (pExpr == NULL)
continue;