maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #09502
Re: MDEV-9521 Least function returns 0000-00-00 for null date columns instead of null
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@xxxxxxxxxxx
References