summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2004-10-20 13:16:00 -0700
committerunknown <igor@rurik.mysql.com>2004-10-20 13:16:00 -0700
commit89865a0c273fb473da0899603540551645f854e9 (patch)
tree291f3a77f3e7458f43eb18749cfbd1cc36ed2ff6
parenta3e71bdbf54163ca8823aabc1c5938e5f593aa32 (diff)
downloadmariadb-git-89865a0c273fb473da0899603540551645f854e9.tar.gz
opt_range.cc:
Post automerge correction. sql/opt_range.cc: Post automerge correction.
-rw-r--r--sql/opt_range.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 1757ef7f864..fdb32b2a09c 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -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)