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

[CP] [bugfix] Fix bug that json convert to string without setting result length

上级 eab142b0
......@@ -143,7 +143,8 @@ int ObExprCast::get_cast_string_len(ObExprResType& type1, ObExprResType& type2,
case ObEnumInnerType:
case ObSetInnerType:
case ObURowIDType:
case ObLobType: {
case ObLobType:
case ObJsonType: {
res_len = type1.get_length();
length_semantics = type1.get_length_semantics();
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册