Stewart Smith wrote:
On Thu, Jan 15, 2009 at 12:06:07PM +0100, Roland Bouman wrote:
My stance for STR_TO_DATE(NULL,NULL); is that you can immediately see
that the format string is invalid. Therefore, it should give an error.

Not entirely correct, unless I have misinterpreted you.

The format string can be an expression, e.g a column reference. In this case you rely on a runtime check to see whether the format expression is valid.

But I still agree that any invalid format string should cause an exception...

Thanks,
Roy

I sit convinced.

/me stands up.

now i stand convinced

:)

_______________________________________________
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