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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user