diff options
author | serg@serg.mylan <> | 2004-10-18 15:32:06 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-10-18 15:32:06 +0200 |
commit | 5fd2c489fbe2b99257fe180283f2507400e2ac05 (patch) | |
tree | 89a7030aa8de1d13f05095bbd5a95621ba7e9c76 /sql/opt_range.cc | |
parent | f7419aaa613a3d8b6779eb2893983a52065f66e8 (diff) | |
download | mariadb-git-5fd2c489fbe2b99257fe180283f2507400e2ac05.tar.gz |
compatibility fix
test results corrected
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index e88652187e5..387537e76ba 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -7189,7 +7189,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) round(num_groups * quick_prefix_selectivity); + num_groups= (uint) rint(num_groups * quick_prefix_selectivity); } if (used_key_parts > group_key_parts) |