-
Committer:
Sergei Golubchik
-
Date:
2012-08-29 08:59:51 UTC
-
Revision ID:
sergii@pisem.net-20120829085951-cegkctak94ctyveg
MDEV-456 An out-of-range datetime value (with a 5-digit year) can be created and cause troubles
fix Item_func_add_time::get_date() to generate valid dates.
Move the validity check inside get_date_from_daynr()
instead of relying on callers
(5 that had it, and 2 that did not, but should've)