mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Code cleanup
This commit is contained in:
@@ -3894,8 +3894,7 @@ double get_column_range_cardinality(Field *field,
|
||||
{
|
||||
res= col_non_nulls *
|
||||
hist->point_selectivity(field, min_endp,
|
||||
avg_frequency / col_non_nulls,
|
||||
tab_records);
|
||||
avg_frequency / col_non_nulls);
|
||||
}
|
||||
}
|
||||
else if (avg_frequency == 0.0)
|
||||
@@ -3989,8 +3988,7 @@ double get_column_range_cardinality(Field *field,
|
||||
*/
|
||||
|
||||
double Histogram_binary::point_selectivity(Field *field, key_range *endpoint,
|
||||
double avg_sel,
|
||||
double total_records)
|
||||
double avg_sel)
|
||||
{
|
||||
double sel;
|
||||
Column_statistics *col_stats= field->read_stats;
|
||||
|
Reference in New Issue
Block a user