[MDEV-720] LP:738069 - Comparisons between datetime and time work differently in 5.1-micro Created: 2011-03-19 Updated: 2012-11-16 Resolved: 2012-11-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.28a, 5.3.10 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
I am filing this bug so that this issue remains on the radar and a decision of some sort is made. As described by Monty: In the microsecond patch, the only 'discussable convert' I know of is when you select cast('2001-01-02 00:00:01' as time) = cast("00:00:01" as time); In other words, when comparing a datetime with a time we only compared However after Serg's change the above is done: select cast('2001-01-02 00:00:01' as time) = cast("00:00:01" as time); The above worries me becasue someone could depend on this. My |
| Comments |
| Comment by Sergei Golubchik [ 2011-03-19 ] |
|
Re: Comparisons between datetime and time work differently in 5.1-micro |
| Comment by Rasmus Johansson (Inactive) [ 2011-03-19 ] |
|
Launchpad bug id: 738069 |