[MDEV-19727] Add Type_handler::Key_part_spec_init_ft Created: 2019-06-11 Updated: 2019-06-11 Resolved: 2019-06-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 code in sql_table.cc is not friendly to data type plugins:
New data types will reuse the same type codes. For example, INET6 will report itself as MYSQL_TYPE_STRING while it won't support fulltext. Let's add a new method in Type_handler:
and split this code into virtual implementations for specific Type_handler_xxx implementations. |