[MDEV-5402] Make "constant_string_expr+interval" look inside the constant to detect a correct data type Created: 2013-12-06 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types, Temporal Types |
| Affects Version/s: | 10.0.6 |
| Fix Version/s: | 10.11 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | datatype | ||
| Epic Link: | Data type cleanups |
| Description |
|
Notice the difference between the two expressions:
The first expression should return '10:11:10', Let's do it only in 10.x. Note, another temporal hybrid function ADDTIME() seems to work correctly:
|