diff options
author | Alexander Barkov <bar@mariadb.org> | 2013-08-22 13:59:30 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2013-08-22 13:59:30 +0400 |
commit | 9adb6e991ec87b65d04929f115d9d0c899e4ab19 (patch) | |
tree | 92784a64dcfdf27f03ea828e5a210b8fa663869c /sql/sql_time.h | |
parent | 879629e6b2b9cd078f4f6b57aeee6f3c70e188cd (diff) | |
download | mariadb-git-9adb6e991ec87b65d04929f115d9d0c899e4ab19.tar.gz |
MDEV-4841 Wrong character set of ADDTIME() and DATE_ADD()
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r-- | sql/sql_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h index 47b300d51cc..928e257ab54 100644 --- a/sql/sql_time.h +++ b/sql/sql_time.h @@ -70,6 +70,8 @@ extern DATE_TIME_FORMAT *date_time_format_copy(THD *thd, DATE_TIME_FORMAT *format); const char *get_date_time_format_str(KNOWN_DATE_TIME_FORMAT *format, timestamp_type type); +bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); + /* MYSQL_TIME operations */ bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type, INTERVAL interval); |