1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

merged 5.0-bugteam -> 5.1-bugteam

This commit is contained in:
Georgi Kodinov
2009-03-24 15:58:52 +02:00
6 changed files with 10 additions and 8 deletions

View File

@ -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;