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

support invalid character write

上级 43bc5912
...@@ -645,10 +645,10 @@ int ObResolverUtils::resolve_const(const ParseNode* node, const stmt::StmtType s ...@@ -645,10 +645,10 @@ int ObResolverUtils::resolve_const(const ParseNode* node, const stmt::StmtType s
} }
} }
if (OB_SUCC(ret) && share::is_mysql_mode() && // if (OB_SUCC(ret) && share::is_mysql_mode() &&
OB_FAIL(ObSQLUtils::check_well_formed_str(val, result_val, true, true))) { // OB_FAIL(ObSQLUtils::check_well_formed_str(val, result_val, true, true))) {
LOG_WARN("invalid str", K(ret), K(val)); // LOG_WARN("invalid str", K(ret), K(val));
} // }
val.set_param_meta(val.get_meta()); val.set_param_meta(val.get_meta());
} }
LOG_DEBUG("resolve const char", K(val)); LOG_DEBUG("resolve const char", K(val));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册