param num error
This commit is contained in:
parent
53fe37f4d2
commit
484c045c05
|
@ -2212,7 +2212,8 @@ static EDealRes translateFunction(STranslateContext* pCxt, SFunctionNode** pFunc
|
||||||
SNode* pParam = NULL;
|
SNode* pParam = NULL;
|
||||||
FOREACH(pParam, (*pFunc)->pParameterList) {
|
FOREACH(pParam, (*pFunc)->pParameterList) {
|
||||||
if (isMultiResFunc(pParam)) {
|
if (isMultiResFunc(pParam)) {
|
||||||
return generateDealNodeErrMsg(pCxt, TSDB_CODE_PAR_WRONG_VALUE_TYPE, ((SExprNode*)pParam)->aliasName);
|
pCxt->errCode = TSDB_CODE_FUNC_FUNTION_PARA_NUM;
|
||||||
|
return DEAL_RES_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue