[MDEV-19686] Add method Type_handler::dyncol_type Created: 2019-06-04  Updated: 2019-06-04  Resolved: 2019-06-04

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:
Blocks
blocks MDEV-4912 Data type plugin API version 1 Closed

 Description   

The code in Item_func_dyncol_create::prepare_arguments() is not friendly to data type plugins.

Let's add a new method in Type_handler:

virtual enum_dynamic_column_type
  dyncol_type(const Type_all_attributes *attr) const= 0;

and split the two switch'es into virtual implementations of the new method.


Generated at Thu Feb 08 08:53:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.