Fix column default value check is not compatible with mysql

This commit is contained in:
lf0
2021-08-19 10:25:02 +08:00
committed by wangzelin.wzl
parent f5e3910971
commit 6f46b8491f

View File

@ -2606,7 +2606,7 @@ int ObDDLResolver::cast_default_value(ObObj& default_value, const ObTimeZoneInfo
ObCastCtx cast_ctx(&allocator,
&dtc_params,
CUR_TIME,
share::is_oracle_mode() ? CM_ORACLE_MODE : CM_NONE,
share::is_oracle_mode() ? CM_ORACLE_MODE : CM_COLUMN_CONVERT,
column_schema.get_collation_type(),
NULL,
&res_accuracy);