summaryrefslogtreecommitdiff
path: root/sql/sql_time.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-09-12 09:06:27 +0400
committerAlexander Barkov <bar@mariadb.com>2018-09-12 09:06:27 +0400
commit2fe51a6fdda7eb91ddac1e24bc3f972e57067fd2 (patch)
tree29a96e8d741fc9658cf6f6e50cddab423cec5a25 /sql/sql_time.h
parent5567a8c936ede50efcdf4a7f898dbaa058106d70 (diff)
downloadmariadb-git-2fe51a6fdda7eb91ddac1e24bc3f972e57067fd2.tar.gz
MDEV-17175 Change Time/Datetime constructors to return warnings in MYSQL_TIME_STATUS
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r--sql/sql_time.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h
index 8c6e58856e6..862289ffdf1 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -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,