提交 a405c1a0 编写于 作者: G Ganlin Zhao

[TD-12861]<fix>(query): taoshell crash : coredump for such as "select first(c1)==max(c1) from st"

上级 d208fa42
...@@ -518,7 +518,7 @@ tSqlExpr *tSqlExprClone(tSqlExpr *pSrc) { ...@@ -518,7 +518,7 @@ tSqlExpr *tSqlExprClone(tSqlExpr *pSrc) {
tVariantAssign(&pExpr->value, &pSrc->value); tVariantAssign(&pExpr->value, &pSrc->value);
//we don't clone paramList now because clone is only used for between/and //we don't clone paramList now because clone is only used for between/and
assert(pSrc->Expr.paramList == NULL); pSrc->Expr.paramList = NULL;
return pExpr; return pExpr;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册