Commit 89865a0c authored by unknown's avatar unknown

opt_range.cc:

  Post automerge correction.


sql/opt_range.cc:
  Post automerge correction.
parent a3e71bdb
...@@ -3388,6 +3388,8 @@ static SEL_TREE *get_mm_tree(PARAM *param,COND *cond) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment