mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 05:35:31 +02:00
merge
This commit is contained in:
commit
cbd52a42ee
269 changed files with 6718 additions and 5656 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2004, 2011, Oracle and/or its affiliates.
|
||||
Copyright (c) 2004, 2012, Oracle and/or its affiliates.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -788,7 +788,7 @@ long calc_daynr(uint year,uint month,uint day)
|
|||
temp=(int) ((y/100+1)*3)/4;
|
||||
DBUG_PRINT("exit",("year: %d month: %d day: %d -> daynr: %ld",
|
||||
y+(month <= 2),month,day,delsum+y/4-temp));
|
||||
DBUG_ASSERT(delsum+(int) y/4-temp > 0);
|
||||
DBUG_ASSERT(delsum+(int) y/4-temp >= 0);
|
||||
DBUG_RETURN(delsum+(int) y/4-temp);
|
||||
} /* calc_daynr */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue