Fix column default value check is not compatible with mysql
This commit is contained in:
@ -2606,7 +2606,7 @@ int ObDDLResolver::cast_default_value(ObObj& default_value, const ObTimeZoneInfo
|
|||||||
ObCastCtx cast_ctx(&allocator,
|
ObCastCtx cast_ctx(&allocator,
|
||||||
&dtc_params,
|
&dtc_params,
|
||||||
CUR_TIME,
|
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(),
|
column_schema.get_collation_type(),
|
||||||
NULL,
|
NULL,
|
||||||
&res_accuracy);
|
&res_accuracy);
|
||||||
|
|||||||
Reference in New Issue
Block a user