summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-24 15:58:52 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-24 15:58:52 +0200
commit706a0a39ed3f6ca0f582d3c0946fce6e98062534 (patch)
tree52d5e2538b0d3d438c092ff518220c8a1b274613 /sql/opt_range.cc
parent8ac45fb09d145d284aa78e54473748d2c82b23cd (diff)
parent84a63525d5d54af1dce105dd01f3708268f5e1ee (diff)
downloadmariadb-git-706a0a39ed3f6ca0f582d3c0946fce6e98062534.tar.gz
merged 5.0-bugteam -> 5.1-bugteam
Diffstat (limited to 'sql/opt_range.cc')
-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 1184068a377..147874611ce 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -9494,7 +9494,7 @@ get_best_group_min_max(PARAM *param, SEL_TREE *tree)
}
/* If we got to this point, cur_index_info passes the test. */
- key_infix_parts= cur_key_infix_len ?
+ key_infix_parts= cur_key_infix_len ? (uint)
(first_non_infix_part - first_non_group_part) : 0;
cur_used_key_parts= cur_group_key_parts + key_infix_parts;