[MDEV-17317] Add THD* parameter into Item::get_date() and stricter data type control to "fuzzydate" Created: 2018-09-28 Updated: 2018-10-01 Resolved: 2018-09-28 |
|
| 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 |
|
In many places in Item::get_date() we use current_thd. After adding of To avoid heavy use of current_thd, we'll add a THD* parameter to Item::get_date(). After this change, the definition of Item::get_date() will look like this:
Where date_mode_t:
We'll also change a number of other dependency functions and methods to get "date_mode_t fuzzydate" instead of "ulonglong fuzzydate". |