提交 4e8d8231 编写于 作者: O obdev 提交者: wangzelin.wzl

bugfix:

上级 ff8b7236
......@@ -43,6 +43,7 @@ int ObExprJsonQuote::calc_result_type1(ObExprResType &type,
type.set_type(ObLongTextType);
type.set_collation_type(CS_TYPE_UTF8MB4_BIN);
type.set_collation_level(CS_LEVEL_IMPLICIT);
type.set_length(OB_MAX_LONGTEXT_LENGTH);
if (type1.get_type() == ObNullType || type1.get_type() == ObDoubleType
|| type1.get_type() == ObIntType) {
......
......@@ -43,7 +43,8 @@ int ObExprJsonUnquote::calc_result_type1(ObExprResType &type,
type.set_type(ObLongTextType);
type.set_collation_type(CS_TYPE_UTF8MB4_BIN);
type.set_collation_level(CS_LEVEL_IMPLICIT);
type.set_length(OB_MAX_LONGTEXT_LENGTH);
if (type1.get_type() == ObNullType || type1.get_type() == ObDoubleType
|| type1.get_type() == ObIntType) {
// do nothing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册