1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed bug mdev-4363.

When calculating the selectivity of a range in the function
get_column_range_cardinality a check whether NULL values are
included into into the range must be done.
This commit is contained in:
Igor Babaev
2013-04-06 17:18:51 -07:00
parent 10f0530b22
commit e3bf08d4b1
6 changed files with 127 additions and 7 deletions

View File

@ -105,7 +105,8 @@ double get_column_avg_frequency(Field * field);
double get_column_range_cardinality(Field *field,
key_range *min_endp,
key_range *max_endp);
key_range *max_endp,
uint range_flag);
class Histogram
{