diff --git a/src/observer/mysql/obmp_stmt_execute.cpp b/src/observer/mysql/obmp_stmt_execute.cpp index 6a61c63acee5b5fc5e56fb5074186ff29f1a76ed..0efa65369e2024b771ff2f20a93d2a2011fcc8c9 100644 --- a/src/observer/mysql/obmp_stmt_execute.cpp +++ b/src/observer/mysql/obmp_stmt_execute.cpp @@ -1341,6 +1341,9 @@ int ObMPStmtExecute::parse_basic_param_value(ObIAllocator& allocator, const uint break; } } + if (OB_SUCC(ret) && share::is_mysql_mode()) { + param.set_collation_level(CS_LEVEL_COERCIBLE); + } return ret; }