diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-09-25 10:07:45 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-09-25 10:07:45 +0400 |
commit | 25ad38abe5b3fb6bb2aafff315de256b8f1e7839 (patch) | |
tree | 1157a03398b5f0716a55d36bbe4004d5a7ec5a48 /sql/sql_time.h | |
parent | 50003a9508f53cbaf6ad46ad071ff48f830ad389 (diff) | |
download | mariadb-git-25ad38abe5b3fb6bb2aafff315de256b8f1e7839.tar.gz |
MDEV-17288 Replace Item_func::get_arg0_date() to Date/Datetime methods
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 47c057cd9b5..0966dacf4f8 100644 --- a/sql/sql_time.h +++ b/sql/sql_time.h @@ -120,7 +120,7 @@ int my_time_compare(const MYSQL_TIME *a, const MYSQL_TIME *b); void localtime_to_TIME(MYSQL_TIME *to, struct tm *from); void calc_time_from_sec(MYSQL_TIME *to, ulong seconds, ulong microseconds); -uint calc_week(MYSQL_TIME *l_time, uint week_behaviour, uint *year); +uint calc_week(const MYSQL_TIME *l_time, uint week_behaviour, uint *year); int calc_weekday(long daynr,bool sunday_first_day_of_week); bool parse_date_time_format(timestamp_type format_type, |