summaryrefslogtreecommitdiff
path: root/sql/sql_time.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-08-22 14:17:04 +0400
committerAlexander Barkov <bar@mariadb.com>2019-08-22 15:09:59 +0400
commit235cf969d21ba3406a9325d952fda47c589e58d6 (patch)
tree850e3fe62f7d4baec24847bd15808402bda48517 /sql/sql_time.h
parent7b4de10477a7bdb51656d827ad2d914d29a4be4c (diff)
downloadmariadb-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.h2
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,