[MDEV-17175] Change Time/Datetime constructors to return warnings in MYSQL_TIME_STATUS Created: 2018-09-12 Updated: 2018-09-12 Resolved: 2018-09-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types, Temporal Types |
| Fix Version/s: | 10.4.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This task is a self-sufficient part of In order to take into account nanoseconds during string-to-temporal conversion, these constructors:
need to be changed to:
i.e. the "int *warn" parameter needs to be changed to "MYSQL_TIME_STATUS *status". Additionally, we'll move global character set aware functions:
as methods to class Temporal. |