On 11/18/05, Tim Keating <[EMAIL PROTECTED]> wrote:
> It seems like we could handle this situation better, but I'm hanged if I
> know what the Right Thing to Do is. Give a more meaningful error
> message? (Is it necessarily an error to have a date value of 0?)
> Convert to NULL? Something else?
>
> I'm willing to write up a patch for this. Anyone care to offer a
> suggestion as to how to fix it?

Thanks for bringing that up -- I had no idea zeroes were allowed in
MySQL dates. Ah, MySQL, you are a corrupt mistress. Yeah, the
typecaster should convert zeroes to NULL.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to