提交 b89f1652 编写于 作者: S slzhou

fix: remove tbl count scan modification from the PR

上级 b83bf916
......@@ -2632,13 +2632,11 @@ static bool tbCntScanOptIsEligibleConds(STbCntScanOptInfo* pInfo, SNode* pCondit
return false;
}
if (QUERY_NODE_LOGIC_CONDITION == nodeType(pConditions)) {
return tbCntScanOptIsEligibleLogicCond(pInfo, (SLogicConditionNode*)pConditions) &&
LIST_LENGTH(pInfo->pAgg->pGroupKeys) == 0;
return tbCntScanOptIsEligibleLogicCond(pInfo, (SLogicConditionNode*)pConditions);
}
if (QUERY_NODE_OPERATOR == nodeType(pConditions)) {
return tbCntScanOptIsEligibleOpCond((SOperatorNode*)pConditions) &&
LIST_LENGTH(pInfo->pAgg->pGroupKeys) == 0;
return tbCntScanOptIsEligibleOpCond((SOperatorNode*)pConditions);
}
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册