[MDEV-14494] Move set_param_xxx() in sql_prepare.cc to methods in Item_param and Type_handler Created: 2017-11-24  Updated: 2017-11-24  Resolved: 2017-11-24

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

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
Relates
relates to MDEV-14467 Item_param: replace {INT|DECIMAL|REAL... Closed

 Description   

Under terms of this task we'll:

  • Change a virtual function pointer Item_param::set_param_func to a Type_handler based implementation, by adding a new virtual method Type_handler::Item_param_set_param_func()
  • Move static functions set_param_xxx() as methods to Item_param
  • Decompose the switch in setup_one_conversion_function() into a new virtual method Type_handler::Item_param_setup_conversion()

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