+1

On Jan 9, 2009, at 10:19 AM, Roland Bouman wrote:

Hi!

On Fri, Jan 9, 2009 at 6:36 PM, Jay Pipes <[email protected]> wrote:
mysql> SELECT DATE_FORMAT(NULL, "%Y-%m-%d");
+-------------------------------+
| DATE_FORMAT(NULL, "%Y-%m-%d") |
+-------------------------------+
| NULL                          |
+-------------------------------+
1 row in set (0.04 sec)

Ok - quite as expected

mysql> SELECT DATE_FORMAT("xxx", "%Y-%m-%d");
+--------------------------------+
| DATE_FORMAT("xxx", "%Y-%m-%d") |
+--------------------------------+
| NULL                           |
+--------------------------------+
1 row in set, 1 warning (0.00 sec)

I feel this should be an error.


kind regards,

--
Roland Bouman
http://rpbouman.blogspot.com/

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/                     <-- Me
http://tangent.org/                <-- Software
_______________________________________________________
You can't grep a dead tree.




_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to