提交 29ac8400 编写于 作者: X xj0 提交者: LINGuanRen

get json convert function not as expected

上级 f0a19537
......@@ -8403,11 +8403,12 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] = {
},
};
ObExpr::EvalEnumSetFunc OB_DATUM_CAST_MYSQL_ENUMSET_IMPLICIT[ObMaxTC][2] = {{
/*null -> enum_or_set*/
cast_identity_enum_set, /*enum*/
cast_identity_enum_set, /*set*/
},
ObExpr::EvalEnumSetFunc OB_DATUM_CAST_MYSQL_ENUMSET_IMPLICIT[ObMaxTC][2] = {
{
/*null -> enum_or_set*/
cast_identity_enum_set, /*enum*/
cast_identity_enum_set, /*set*/
},
{
/*int -> enum_or_set*/
int_enum, /*enum*/
......@@ -8487,7 +8488,33 @@ ObExpr::EvalEnumSetFunc OB_DATUM_CAST_MYSQL_ENUMSET_IMPLICIT[ObMaxTC][2] = {{
/*enumset_inner tc -> enum_or_set*/
cast_not_expected_enum_set, /*enum*/
cast_not_expected_enum_set, /*set*/
}};
},
{
/*unknow -> enum_or_set*/
cast_not_support_enum_set, /*enum*/
cast_not_support_enum_set, /*set*/
},
{
/*unknow -> enum_or_set*/
cast_not_support_enum_set, /*enum*/
cast_not_support_enum_set, /*set*/
},
{
/*unknow -> enum_or_set*/
cast_not_support_enum_set, /*enum*/
cast_not_support_enum_set, /*set*/
},
{
/*unknow -> enum_or_set*/
cast_not_support_enum_set, /*enum*/
cast_not_support_enum_set, /*set*/
},
{
/*unknow -> enum_or_set*/
cast_not_support_enum_set, /*enum*/
cast_not_support_enum_set, /*set*/
}
};
int string_collation_check(
const bool is_strict_mode, const ObCollationType check_cs_type, const ObObjType str_type, ObString& str)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册