[MDEV-17712] Remove C_TIME_FUZZY_DATES, C_TIME_DATETIME_ONLY, C_TIME_TIME_ONLY Created: 2018-11-14 Updated: 2018-11-17 Resolved: 2018-11-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Fix Version/s: | 10.4.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Under terms of this task we'll do the following things:
Rationale:
Functions in sql-common/my_time.c have confusing names and work inconsistently to each other:
We'll replace them to self-descriptive functions, which won't depend on flags:
Instead of passing C_TIME_TIME_ONLY to functions from my_time.cc, the upper level will choose between the new functions. This will help to add support of time intervals easier soon: the C++ level will have a new flag TIME_TIME_INTERVAL. |