fix bug about time and make slqmode pretty
This commit is contained in:
@ -106,7 +106,7 @@ inline int obj_to_time<ObObj, true>(const ObObj &date, ObObjType type, const ObS
|
||||
{
|
||||
UNUSED(type);
|
||||
UNUSED(has_lob_header);
|
||||
return ob_obj_to_ob_time_with_date(date, tz_info, ob_time, cur_ts_value, false, date_sql_mode);
|
||||
return ob_obj_to_ob_time_with_date(date, tz_info, ob_time, cur_ts_value, date_sql_mode);
|
||||
}
|
||||
|
||||
template <>
|
||||
@ -127,7 +127,7 @@ inline int obj_to_time<ObDatum, true>(const ObDatum &date, ObObjType type, const
|
||||
bool has_lob_header)
|
||||
{
|
||||
return ob_datum_to_ob_time_with_date(
|
||||
date, type, scale, tz_info, ob_time, cur_ts_value, false, date_sql_mode, has_lob_header);
|
||||
date, type, scale, tz_info, ob_time, cur_ts_value, date_sql_mode, has_lob_header);
|
||||
}
|
||||
template <>
|
||||
inline int obj_to_time<ObDatum, false>(const ObDatum &date, ObObjType type, const ObScale scale,
|
||||
|
||||
Reference in New Issue
Block a user