提交 2fe296f8 编写于 作者: S shenglian zhou

change length/char_length return type to int

上级 8f4056ec
......@@ -1034,8 +1034,8 @@ int32_t exprValidateStringLengthNode(tExprNode *pExpr) {
return TSDB_CODE_TSC_INVALID_OPERATION;
}
pExpr->resultType = TSDB_DATA_TYPE_SMALLINT;
pExpr->resultBytes = tDataTypes[TSDB_DATA_TYPE_SMALLINT].bytes;
pExpr->resultType = TSDB_DATA_TYPE_INT;
pExpr->resultBytes = tDataTypes[TSDB_DATA_TYPE_INT].bytes;
return TSDB_CODE_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册