[MDEV-20042] Implement EXTRA2_FIELD_DATA_TYPE_INFO in FRM Created: 2019-07-11 Updated: 2019-10-02 Resolved: 2019-07-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Fix Version/s: | 10.5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
This task will implement a new frm segment EXTRA2_FIELD_DATA_TYPE_INFO. In the standard data type sergment, pluggable data types will still write basic things (like normal fields do) such as:
For example, INET6 will later write this information in the standard segment:
and additionally write "inet6" into the new segment EXTRA2_FIELD_DATA_TYPE_INFO. Only extended data types will write to EXTRA2_FIELD_DATA_TYPE_INFO. Let's use this format for every field: 1. fieldnr, in net_write_length() format We don't have extended data types yet, so this task will make sure the new functionality works using some DBUG_EXECUTE_IFs:
This will guarantee that the full cycle is tested:
|