mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
opt_range.cc:
Post automerge correction.
This commit is contained in:
@ -3388,6 +3388,8 @@ static SEL_TREE *get_mm_tree(PARAM *param,COND *cond)
|
|||||||
if (cond_func->select_optimize() == Item_func::OPTIMIZE_NONE)
|
if (cond_func->select_optimize() == Item_func::OPTIMIZE_NONE)
|
||||||
DBUG_RETURN(0); // Can't be calculated
|
DBUG_RETURN(0); // Can't be calculated
|
||||||
|
|
||||||
|
param->cond= cond;
|
||||||
|
|
||||||
switch (cond_func->functype()) {
|
switch (cond_func->functype()) {
|
||||||
case Item_func::BETWEEN:
|
case Item_func::BETWEEN:
|
||||||
if (cond_func->arguments()[0]->type() != Item::FIELD_ITEM)
|
if (cond_func->arguments()[0]->type() != Item::FIELD_ITEM)
|
||||||
|
Reference in New Issue
Block a user