[MDEV-16884] Remove tests for field_type() in Item_cache_temporal Created: 2018-08-02 Updated: 2018-11-01 Resolved: 2018-08-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data 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 |
|
Item_cache_temporal has the following methods with tests for field_type():
Tests for field_type() are not friendly for user defined data types (plugins) and should all be eventually gone. Under terms of this task we'll move implementations of val_datetime_packed() and val_time_packed() from Item_cache_temporal to its descendants:
and thus remove the need to test field_type(). |