fix: remove tbl count scan modification from the PR
This commit is contained in:
parent
b83bf9163e
commit
b89f1652fc
|
@ -2632,13 +2632,11 @@ static bool tbCntScanOptIsEligibleConds(STbCntScanOptInfo* pInfo, SNode* pCondit
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (QUERY_NODE_LOGIC_CONDITION == nodeType(pConditions)) {
|
if (QUERY_NODE_LOGIC_CONDITION == nodeType(pConditions)) {
|
||||||
return tbCntScanOptIsEligibleLogicCond(pInfo, (SLogicConditionNode*)pConditions) &&
|
return tbCntScanOptIsEligibleLogicCond(pInfo, (SLogicConditionNode*)pConditions);
|
||||||
LIST_LENGTH(pInfo->pAgg->pGroupKeys) == 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (QUERY_NODE_OPERATOR == nodeType(pConditions)) {
|
if (QUERY_NODE_OPERATOR == nodeType(pConditions)) {
|
||||||
return tbCntScanOptIsEligibleOpCond((SOperatorNode*)pConditions) &&
|
return tbCntScanOptIsEligibleOpCond((SOperatorNode*)pConditions);
|
||||||
LIST_LENGTH(pInfo->pAgg->pGroupKeys) == 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue