mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02: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:
parent
10f0530b22
commit
e3bf08d4b1
6 changed files with 127 additions and 7 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue