提交 344cce1a 编写于 作者: S shenglian zhou

support pow(min(col), 2)

上级 2efab798
......@@ -1886,7 +1886,6 @@ static int32_t handleAggregateExpr(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_
pSqlExpr->param[0].nType = TSDB_DATA_TYPE_BINARY;
// tbufCloseWriter(&bw); // TODO there is a memory leak
tExprTreeDestroy(pInfo->pExpr->pExpr, NULL);
return TSDB_CODE_SUCCESS;
}
......
......@@ -115,7 +115,7 @@ typedef struct tExprNode {
struct {
int16_t functionId;
uint8_t numChildren;
struct tExprNode** pChildren;
struct tExprNode **pChildren;
} _func;
};
int16_t resultType;
......
......@@ -956,6 +956,8 @@ tExprNode* exprdup(tExprNode* pNode) {
}
pCloned->nodeType = pNode->nodeType;
pCloned->resultType = pNode->resultType;
pCloned->resultBytes = pNode->resultBytes;
return pCloned;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册