1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-17288 Replace Item_func::get_arg0_date() to Date/Datetime methods

This commit is contained in:
Alexander Barkov
2018-09-25 10:07:45 +04:00
parent 50003a9508
commit 25ad38abe5
5 changed files with 139 additions and 96 deletions

View File

@ -175,7 +175,7 @@ int calc_weekday(long daynr,bool sunday_first_day_of_week)
next week is week 1.
*/
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)
{
uint days;
ulong daynr=calc_daynr(l_time->year,l_time->month,l_time->day);