summaryrefslogtreecommitdiff
path: root/sql/sql_time.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2013-08-22 13:59:30 +0400
committerAlexander Barkov <bar@mariadb.org>2013-08-22 13:59:30 +0400
commit9adb6e991ec87b65d04929f115d9d0c899e4ab19 (patch)
tree92784a64dcfdf27f03ea828e5a210b8fa663869c /sql/sql_time.h
parent879629e6b2b9cd078f4f6b57aeee6f3c70e188cd (diff)
downloadmariadb-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.h2
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);