[MDEV-15287] Bad result for LEAST/GREATEST(datetime_alike_string, time) Created: 2018-02-12 Updated: 2018-02-13 Resolved: 2018-02-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.3.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This query returns bad results:
Implicit conversion from the string literal '2010-01-01 10:10:10' to TIME does not seem to work well inside LEAST/GREATEST. The expected behavior would be to return results similar to this query (with explicit CAST added around the string):
|
| Comments |
| Comment by Alexander Barkov [ 2018-02-12 ] |
|
Pushed to bb-10.2-ext |