[MDEV-9316] Add Field::store_hex_hybrid() Created: 2015-12-23 Updated: 2016-01-12 Resolved: 2016-01-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | refactoring | ||
| Issue Links: |
|
||||||||
| Description |
|
This method in item.cc:
depends on the data type. It should be split apart into virtual methods in Field, so the user-defined data types and the standard data types look similar. For example, the INET6 data type will need its own conversion, which is not compatible with the current behavior of Item_hex_hybrid::save_in_field(). The relevant pieces of the code in the original type handler patch:
|