complie error
This commit is contained in:
parent
acb4a04459
commit
f406c4e31d
|
@ -914,7 +914,7 @@ static int32_t createMultiResFuncsFromStar(STranslateContext* pCxt, SFunctionNod
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isCountStar(SNode* pNode) {
|
static bool isCountStar(SNode* pNode) {
|
||||||
if (QUERY_NODE_FUNCTION != nodeType(pNode)) {
|
if (QUERY_NODE_FUNCTION != nodeType(pNode) || 1 != LIST_LENGTH(((SFunctionNode*)pNode)->pParameterList)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
SNode* pPara = nodesListGetNode(((SFunctionNode*)pNode)->pParameterList, 0);
|
SNode* pPara = nodesListGetNode(((SFunctionNode*)pNode)->pParameterList, 0);
|
||||||
|
|
Loading…
Reference in New Issue