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) {
|
static bool hasInvalidFuncNesting(SFunctionNode* pFunc) {
|
||||||
if(pFunc->funcType == FUNCTION_TYPE_COLS) return false;
|
|
||||||
bool hasInvalidFunc = false;
|
bool hasInvalidFunc = false;
|
||||||
nodesWalkExprs(pFunc->pParameterList, haveVectorFunction, &hasInvalidFunc);
|
nodesWalkExprs(pFunc->pParameterList, haveVectorFunction, &hasInvalidFunc);
|
||||||
return hasInvalidFunc;
|
return hasInvalidFunc;
|
||||||
|
|
|
@ -3478,10 +3478,10 @@ static bool eliminateProjOptCanChildConditionUseChildTargets(SLogicNode* pChild,
|
||||||
nodesWalkExpr(pJoinLogicNode->pFullOnCond, eliminateProjOptCanUseNewChildTargetsImpl, &cxt);
|
nodesWalkExpr(pJoinLogicNode->pFullOnCond, eliminateProjOptCanUseNewChildTargetsImpl, &cxt);
|
||||||
if (!cxt.canUse) return false;
|
if (!cxt.canUse) return false;
|
||||||
}
|
}
|
||||||
if (QUERY_NODE_LOGIC_PLAN_AGG == nodeType(pChild) &&
|
//if (QUERY_NODE_LOGIC_PLAN_AGG == nodeType(pChild) &&
|
||||||
((SAggLogicNode*)pChild)->node.pTargets->length != pNewChildTargets->length) {
|
// ((SAggLogicNode*)pChild)->node.pTargets->length != pNewChildTargets->length) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
//}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue