fix replace expr charset mistaken code bug

This commit is contained in:
SevenJ-swj
2023-07-11 10:42:33 +00:00
committed by ob-robot
parent c5c92dfe7c
commit fa010efcd4
5 changed files with 51 additions and 57 deletions

View File

@ -34,7 +34,8 @@ int ObDDLStmt::get_first_stmt(ObString &first_stmt)
first_stmt,
get_query_ctx()->get_sql_stmt_coll_type(),
ObCharset::get_system_collation(),
first_stmt))) {
first_stmt,
ObCharset::REPLACE_UNKNOWN_CHARACTER))) {
LOG_WARN("fail to convert charset", K(ret), K(first_stmt),
"stmt collation type", get_query_ctx()->get_sql_stmt_coll_type());
}