opt_range.cc:
Corrected fix for bug#18165 sql/opt_range.cc: Corrected fix for bug#18165
This commit is contained in:
parent
84a6539345
commit
da2e23f183
@ -3609,8 +3609,10 @@ static SEL_TREE *get_func_mm_tree(PARAM *param, Item_func *cond_func,
|
|||||||
else
|
else
|
||||||
tree= get_mm_parts(param, cond_func, field,
|
tree= get_mm_parts(param, cond_func, field,
|
||||||
(inv ?
|
(inv ?
|
||||||
(value == 1 ? Item_func::GT_FUNC : Item_func::LT_FUNC) :
|
(value == (Item*)1 ? Item_func::GT_FUNC :
|
||||||
(value == 1 ? Item_func::LE_FUNC : Item_func::GE_FUNC)),
|
Item_func::LT_FUNC):
|
||||||
|
(value == (Item*)1 ? Item_func::LE_FUNC :
|
||||||
|
Item_func::GE_FUNC)),
|
||||||
cond_func->arguments()[0], cmp_type);
|
cond_func->arguments()[0], cmp_type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user