Add cast mode BY_TRANSFORM for implicit cast by transformer

This commit is contained in:
xianyu-w
2024-02-07 22:03:45 +00:00
committed by ob-robot
parent c022786023
commit 19d694ab24

View File

@ -1782,6 +1782,7 @@ int ObSQLUtils::get_cast_mode_for_replace(const ObRawExpr *expr,
} else if (expr->get_result_type().has_result_flag(ZEROFILL_FLAG)) { } else if (expr->get_result_type().has_result_flag(ZEROFILL_FLAG)) {
cast_mode |= CM_ADD_ZEROFILL; cast_mode |= CM_ADD_ZEROFILL;
} }
cast_mode = CM_SET_BY_TRANSFORMERN(cast_mode);
return ret; return ret;
} }