[MDEV-12719] Determine Item::result_type() from Item::type_handler() Created: 2017-05-07  Updated: 2017-05-07  Resolved: 2017-05-07

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, refactoring

Issue Links:
Blocks
blocks MDEV-4912 Data type plugin API version 1 Closed
Relates
relates to MDEV-12714 Determine Item::field_type() from Ite... Closed
relates to MDEV-12718 Determine Item::cmp_type() from Item:... Closed

 Description   

We'll change Item::result_type() to be a non-virtual inline method:

Item_result result_type() const
{
  return type_handler()->result_type();
}

and remove all virtual implementations from all Item descendants.


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