-
Committer:
Jay Pipes
-
Date:
2009-02-14 19:02:06 UTC
-
mto:
This revision was merged to the branch mainline in
revision
890.
-
Revision ID:
jpipes@serialcoder-20090214190206-qhtipu0snbxhpue1
This patch fixes the following functions to properly error out
on bad datetime inputs:
CURDATE(), NOW(), UTC_DATE(), FROM_DAYS(), TO_DAYS(), LAST_DAY()
In addition, test cases were fixed to properly reflect correct
error conditions.
NOTE:
There is a fail in the type_decimal.test case. This has to do
with the reduction of non-tabular derived tables into an Item or
Item tree. This reduction is not properly keeping Item_null values
as null values, instead reducing it to an integer at some point.