diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-11-20 13:47:52 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-11-20 13:47:52 +0400 |
commit | 21a58840819530ed6a257550529e50e333237479 (patch) | |
tree | d10b162db95238cdd53cf1c63babbf98fe7e614d /include | |
parent | dde2ca4aa108b611b5fdfc970146b28461ef08bf (diff) | |
download | mariadb-git-21a58840819530ed6a257550529e50e333237479.tar.gz |
MDEV-17776 CAST(x AS INTERVAL DAY_SECOND(N))
Diffstat (limited to 'include')
-rw-r--r-- | include/my_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_time.h b/include/my_time.h index ab0d2b0661d..94632bbbf38 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -208,6 +208,7 @@ void set_zero_time(MYSQL_TIME *tm, enum enum_mysql_timestamp_type time_type); #define MAX_DATE_STRING_REP_LENGTH 30 #define AUTO_SEC_PART_DIGITS DECIMAL_NOT_SPECIFIED +int my_interval_DDhhmmssff_to_str(const MYSQL_TIME *, char *to, uint digits); int my_time_to_str(const MYSQL_TIME *l_time, char *to, uint digits); int my_date_to_str(const MYSQL_TIME *l_time, char *to); int my_datetime_to_str(const MYSQL_TIME *l_time, char *to, uint digits); |