mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-17175 Change Time/Datetime constructors to return warnings in MYSQL_TIME_STATUS
This commit is contained in:
@ -126,15 +126,6 @@ int calc_weekday(long daynr,bool sunday_first_day_of_week);
|
||||
bool parse_date_time_format(timestamp_type format_type,
|
||||
const char *format, uint format_length,
|
||||
DATE_TIME_FORMAT *date_time_format);
|
||||
/* Character set-aware version of str_to_time() */
|
||||
bool str_to_time(CHARSET_INFO *cs, const char *str,size_t length,
|
||||
MYSQL_TIME *l_time, ulonglong fuzzydate,
|
||||
MYSQL_TIME_STATUS *status);
|
||||
/* Character set-aware version of str_to_datetime() */
|
||||
bool str_to_datetime(CHARSET_INFO *cs,
|
||||
const char *str, size_t length,
|
||||
MYSQL_TIME *l_time, ulonglong flags,
|
||||
MYSQL_TIME_STATUS *status);
|
||||
|
||||
/* convenience wrapper */
|
||||
inline bool parse_date_time_format(timestamp_type format_type,
|
||||
|
Reference in New Issue
Block a user