[MDEV-12695] Add Column_definition::type_handler() Created: 2017-05-05  Updated: 2017-05-05  Resolved: 2017-05-05

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 10.3.1

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: datatype, refactoring

Issue Links:
Blocks
blocks MDEV-4912 Data type plugin API version 1 Closed

 Description   

We'll change Column_definition as follows:

  • remove the enum_field_types sql_type member, responsible for data type
  • derive Column_definition from Type_handler_hybrid_field_type instead

This is needed to add new data types easier, including pluggable data types.
Eventually all data types inside the server will be identified by their Type_handler pointers, rather than a enum_field_types type code. This task is a step towards.


Generated at Thu Feb 08 07:59:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.