4 ms·
Or what you're saying is that if you store a date of zero VALUE to MySQL it could be magically replaced by NULL internally? That would be really crazy.
by sljd 13y ago
Or what you're saying is that if you store a date of zero VALUE to MySQL it could be magically replaced by NULL internally? That would be really crazy.
- hapless 13y agoI seem to recall it is actually the other way around, and storing a null results in a nonsense date. Added bonus: some versions will segfault if you pass an un-formattable date value.