unused code
This commit is contained in:
parent
fa203ca249
commit
44f6859d65
|
@ -2500,7 +2500,6 @@ static int32_t rewriteCountTbname(STranslateContext* pCxt, SFunctionNode* pCount
|
|||
}
|
||||
|
||||
static bool hasInvalidFuncNesting(SFunctionNode* pFunc) {
|
||||
if(pFunc->funcType == FUNCTION_TYPE_COLS) return false;
|
||||
bool hasInvalidFunc = false;
|
||||
nodesWalkExprs(pFunc->pParameterList, haveVectorFunction, &hasInvalidFunc);
|
||||
return hasInvalidFunc;
|
||||
|
|
|
@ -3478,10 +3478,10 @@ static bool eliminateProjOptCanChildConditionUseChildTargets(SLogicNode* pChild,
|
|||
nodesWalkExpr(pJoinLogicNode->pFullOnCond, eliminateProjOptCanUseNewChildTargetsImpl, &cxt);
|
||||
if (!cxt.canUse) return false;
|
||||
}
|
||||
if (QUERY_NODE_LOGIC_PLAN_AGG == nodeType(pChild) &&
|
||||
((SAggLogicNode*)pChild)->node.pTargets->length != pNewChildTargets->length) {
|
||||
return false;
|
||||
}
|
||||
//if (QUERY_NODE_LOGIC_PLAN_AGG == nodeType(pChild) &&
|
||||
// ((SAggLogicNode*)pChild)->node.pTargets->length != pNewChildTargets->length) {
|
||||
// return false;
|
||||
//}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue