提交 20623f99 编写于 作者: L LiuYoung00 提交者: wangzelin.wzl

[CP] add set_collation_level after set_string

上级 71eeadd7
...@@ -638,6 +638,7 @@ int ObResolverUtils::resolve_const(const ParseNode* node, const stmt::StmtType s ...@@ -638,6 +638,7 @@ int ObResolverUtils::resolve_const(const ParseNode* node, const stmt::StmtType s
if (OB_SUCC(ret)) { if (OB_SUCC(ret)) {
val.set_string(val.get_type(), buf, static_cast<int32_t>(result_len)); val.set_string(val.get_type(), buf, static_cast<int32_t>(result_len));
val.set_collation_type(target_collation); val.set_collation_type(target_collation);
val.set_collation_level(CS_LEVEL_COERCIBLE);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册