[Maria-developers] MDEV-9521 Least function returns 0000-00-00 for null date columns instead of null
Hello Sergei, MDEV-9521 Least function returns 0000-00-00 for null date columns instead of null Item_func_ifnull::date_op() and Item_func_coalesce::date_op() could erroneously return 0000-00-00 instead of NULL when when get_date() was called with the TIME_FUZZY_DATES flag, e.g. from LEAST(). On 04/16/2016 09:02 PM, Sergei Golubchik wrote:
Hi, Alexander!
On Feb 09, Alexander Barkov wrote:
Hi Sergei,
Please review a patch for MDEV-9521.
Thanks.
What the commit comment will be for this change?
Regards, Sergei Chief Architect MariaDB and security@mariadb.org
Hi, Alexander! On Apr 18, Alexander Barkov wrote:
Hello Sergei,
MDEV-9521 Least function returns 0000-00-00 for null date columns instead of null
Item_func_ifnull::date_op() and Item_func_coalesce::date_op() could erroneously return 0000-00-00 instead of NULL when when get_date() was called with the TIME_FUZZY_DATES flag, e.g. from LEAST().
The patch looks good. Ok to push, thanks! (btw, there's a typo in your comment: s/when when/when/) Regards, Sergei Chief Architect MariaDB and security@mariadb.org
participants (2)
-
Alexander Barkov
-
Sergei Golubchik