[MDEV-456] An out-of-range datetime value (with a 5-digit year) can be created and cause troubles Created: 2012-08-15 Updated: 2013-01-08 Resolved: 2012-08-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.25, 5.3.7 |
| Fix Version/s: | 5.5.27, 5.3.9 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This can potentially cause problems; for one, mysqldump/restore brings up a different value (all zeros). In MariaDB 5.2 it worked as expected – a warning 'Incorrect datetime value: '10000-01-01 00:00:00'' was produced on the update, and the value was set to NULL. |