bugfix:49228442, 49192441, 49243082, 49336026, 49341756, 49424274, 49428667, 49263419

This commit is contained in:
obdev
2023-05-05 06:08:25 +00:00
committed by ob-robot
parent 8a215cb58f
commit e38a0ec7ca
8 changed files with 90 additions and 5 deletions

View File

@ -2152,7 +2152,7 @@ int cast_not_expected(const sql::ObExpr &expr,
sql::ObEvalCtx &ctx,
sql::ObDatum &res_datum)
{
int ret = OB_ERR_UNEXPECTED;
int ret = lib::is_oracle_mode() ? OB_ERR_INVALID_TYPE_FOR_OP : OB_ERR_UNEXPECTED;
UNUSED(ctx);
UNUSED(res_datum);
ObObjType in_type = expr.args_[0]->datum_meta_.type_;