提交 a10b882d 编写于 作者: L lf0 提交者: LINGuanRen

Ctas statement contains USER VARIABLE creation failed

上级 97eefd4e
......@@ -112,7 +112,7 @@ int ObExprAssign::calc_result_type2(
type.set_scale(value.get_scale());
// set length
if (ob_is_string_type(type.get_type())) {
type.set_full_length(common::MAX_BUFFER_SIZE, value.get_length_semantics());
type.set_full_length(value.get_length(), value.get_length_semantics());
}
const ObSQLSessionInfo* session = dynamic_cast<const ObSQLSessionInfo*>(type_ctx.get_session());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册