summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2007-02-21 19:18:09 +0100
committerunknown <serg@janus.mylan>2007-02-21 19:18:09 +0100
commit4957c80827e8f1ecb0544c4fb8d2f7e95962e349 (patch)
tree48af918ffaf03ee3296b46b322a169a04519d9f5
parentbd475445612d312689c70dda67f3ca67c0db7876 (diff)
downloadmariadb-git-4957c80827e8f1ecb0544c4fb8d2f7e95962e349.tar.gz
after merge
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 6eb7d927ed6..f87439dd3eb 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -8195,7 +8195,7 @@ int QUICK_RANGE_SELECT::get_next()
*/
end_key->flag= (last_range->flag & NEAR_MAX ? HA_READ_BEFORE_KEY :
HA_READ_AFTER_KEY);
- end_key->keypart_map= range->max_keypart_map;
+ end_key->keypart_map= last_range->max_keypart_map;
mrange_slot->range_flag= last_range->flag;
}