[MDEV-12649] Add Type_handler::Item_save_in_value Created: 2017-04-30  Updated: 2017-04-30  Resolved: 2017-04-30

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

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

 Description   

We'll add a new method:

virtual bool Item_save_in_value(Item *item, st_value *value) const= 0;

and replace the switch in Item::store:

bool store(struct st_value *value, ulonglong fuzzydate)
{
  switch (cmp_type()) {
  ...
  }
}

to a call of the new method.


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