[MDEV-6097] Inconsistent results for CAST(int,decimal,double AS DATETIME) Created: 2014-04-15 Updated: 2014-06-04 Resolved: 2014-06-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.36, 10.0.10 |
| Fix Version/s: | 5.5.38, 10.0.12, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | compat56 | ||
| Issue Links: |
|
||||||||
| Description |
|
For the query:
MySQL5.6 consistently returns values with YEAR=2001:
MariaDB returns either 2001 or 0001 in year:
MySQL-5.6 results look better. |
| Comments |
| Comment by Alexander Barkov [ 2014-06-04 ] |
|
Pushed into 5.3 and 5.5 |