Bug #1765 | LOAD TABLE time-fields set to 00:00:00 when minutes in range 1-12 | ||
---|---|---|---|
Submitted: | 6 Nov 2003 4:37 | Modified: | 12 Nov 2003 14:22 |
Reporter: | Tore Martin Hansen | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.16 | OS: | Windows (Win XP Pro) |
Assigned to: | CPU Architecture: | Any |
[6 Nov 2003 4:37]
Tore Martin Hansen
[12 Nov 2003 14:22]
Dean Ellis
MySQL is recognizing some of your values as DATE/TIME strings and some as TIME strings, and setting the value appropriately (at least so far as it interprets the values). The cause is simply that MySQL 4.0 only understands 'YYYY-MM-DD HH:MM:SS', 'YYYY-MM-DD' and 'HH:MM:SS' (delimeters being optional/flexible). By not following its accepted format you have forced it to first consider your values as DATE/TIME strings. Thank you.