mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
MDEV-17288 Replace Item_func::get_arg0_date() to Date/Datetime methods
This commit is contained in:
parent
50003a9508
commit
25ad38abe5
5 changed files with 139 additions and 96 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue