[MDEV-16861] Split Item::update_null_value() into a new virtual method in Type_handler Created: 2018-07-31  Updated: 2018-07-31  Resolved: 2018-07-31

Status: Closed
Project: MariaDB Server
Component/s: Data types
Fix Version/s: 10.4.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::update_null_value() has a switch on cmp_type(). This is not friendly for user defined data types.

We'll introduce a new method in Type_handler:

  virtual void Item_update_null_value(Item *item) const= 0;

and split this code into virtual implementations.


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