[CP] fix the params collation level bugs when executing prepared sql

This commit is contained in:
obdev
2022-05-05 14:19:39 +08:00
committed by wangzelin.wzl
parent 957bb6b7ee
commit d647b8f1e4

View File

@ -1341,6 +1341,9 @@ int ObMPStmtExecute::parse_basic_param_value(ObIAllocator& allocator, const uint
break; break;
} }
} }
if (OB_SUCC(ret) && share::is_mysql_mode()) {
param.set_collation_level(CS_LEVEL_COERCIBLE);
}
return ret; return ret;
} }