18 Apr
2016
18 Apr
'16
1:31 p.m.
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