diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-08-22 14:17:04 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-08-22 15:09:59 +0400 |
commit | 235cf969d21ba3406a9325d952fda47c589e58d6 (patch) | |
tree | 850e3fe62f7d4baec24847bd15808402bda48517 /sql/sql_time.h | |
parent | 7b4de10477a7bdb51656d827ad2d914d29a4be4c (diff) | |
download | mariadb-git-235cf969d21ba3406a9325d952fda47c589e58d6.tar.gz |
MDEV-20397 Support TIMESTAMP, DATETIME, TIME in ROUND() and TRUNCATE()
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r-- | sql/sql_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h index 25980d6417c..fe9697adf67 100644 --- a/sql/sql_time.h +++ b/sql/sql_time.h @@ -92,7 +92,7 @@ bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); /* MYSQL_TIME operations */ bool date_add_interval(THD *thd, MYSQL_TIME *ltime, interval_type int_type, - const INTERVAL &interval); + const INTERVAL &interval, bool push_warn= true); bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, int l_sign, ulonglong *seconds_out, ulong *microseconds_out); int append_interval(String *str, interval_type int_type, |