Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
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()) |
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
- Closed
-
MDEV-14630 Replace {STRING|INT|REAL|DECIMAL|DATE}_ITEM to CONST_ITEM
- Closed