[MDEV-16320] Replace INT_ITEM references in sql_select.cc Created: 2018-05-29  Updated: 2018-06-06  Resolved: 2018-06-06

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
blocks MDEV-14630 Replace {STRING|INT|REAL|DECIMAL|DATE... Closed

 Description   

This is a self-containing sub-task for MDEV-14630, to get rid of INT_ITEM references in the code in sql_select.cc.
We'll replace the code testing Item::type() against ITEM_INT to new methods in Item.

The affected code:

  cond->type() == Item::INT_ITEM ||

  if (!cond || cond->type() ==  Item::INT_ITEM)

  else if (eq_cond->type() == Item::INT_ITEM && !eq_cond->val_bool())


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