mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Merge mysql.com:/home/kostja/mysql/mysql-5.0-root
into mysql.com:/home/kostja/mysql/mysql-5.1-merge
This commit is contained in:
@@ -9068,6 +9068,7 @@ void cost_group_min_max(TABLE* table, KEY *index_info, uint used_key_parts,
|
||||
quick_prefix_selectivity= (double) quick_prefix_records /
|
||||
(double) table_records;
|
||||
num_groups= (uint) rint(num_groups * quick_prefix_selectivity);
|
||||
set_if_bigger(num_groups, 1);
|
||||
}
|
||||
|
||||
if (used_key_parts > group_key_parts)
|
||||
|
Reference in New Issue
Block a user