提交 57e04b9e 编写于 作者: wmmhello's avatar wmmhello

fix error, there is a core dump if tag equals a long num in where condition...

fix error, there is a core dump if tag equals a long num in where condition like where tag=99999999999999999999
上级 af0c8fdf
......@@ -9821,7 +9821,7 @@ int32_t exprTreeFromSqlExpr(SSqlCmd* pCmd, tExprNode **pExpr, const tSqlExpr* pS
assert(pSqlExpr->pRight == NULL);
if (pSqlExpr->type == SQL_NODE_VALUE) {
if(!isValidDataType(pSqlExpr->value.nType)){
if(pSqlExpr->value.nType == -1){
return TSDB_CODE_TSC_INVALID_VALUE;
}
int32_t ret = TSDB_CODE_SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册