fix bug about time and make slqmode pretty

This commit is contained in:
obdev
2023-11-16 08:10:49 +00:00
committed by ob-robot
parent 902c912433
commit f550f90133
21 changed files with 110 additions and 104 deletions

View File

@ -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,