[MDEV-12932] Remove enum Cast_target and use Type_handler to handle CAST Created: 2017-05-27  Updated: 2017-05-27  Resolved: 2017-05-27

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

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

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

 Description   

The code that handler CAST is not friendly to pluggable data types.
We'll remove enum Cast_target and change the underlying code to use a new method in Type_handler instead:

virtual Item *create_typecast_item(THD *thd, Item *item,
                                   const Type_cast_attributes &attr) const;



 Comments   
Comment by Alexander Barkov [ 2017-05-27 ]

Pushed to bb-10.2-ext

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