1
0
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:
igor@rurik.mysql.com
2004-10-20 13:16:00 -07:00
parent a03e5ad8e4
commit f64d88a9f3

View File

@ -3388,6 +3388,8 @@ static SEL_TREE *get_mm_tree(PARAM *param,COND *cond)
if (cond_func->select_optimize() == Item_func::OPTIMIZE_NONE)
DBUG_RETURN(0); // Can't be calculated
param->cond= cond;
switch (cond_func->functype()) {
case Item_func::BETWEEN:
if (cond_func->arguments()[0]->type() != Item::FIELD_ITEM)