[MDEV-10192] Comparison result for column w/ YEAR(4) and const w/ 2 digits is incorrect Created: 2016-06-08 Updated: 2016-06-09 Resolved: 2016-06-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 10.1.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Dylan Su | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Description:
Problem: How to repeat:
Suggested fix: |
| Comments |
| Comment by Elena Stepanova [ 2016-06-09 ] |
|
Rules for interpreting 2-digit year representation might be not very intuitive, but they are explicitly described in documentation.
So, in your case 10 is not 1910, it's 2010. |