mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Code cleanup part#2: do not copy key values in xxx_selectivity() functions
This commit is contained in:
@ -400,10 +400,8 @@ public:
|
||||
double avg_selection) override;
|
||||
double range_selectivity(Field *field, key_range *min_endp,
|
||||
key_range *max_endp) override;
|
||||
/*
|
||||
* Returns the index of the biggest histogram value that is smaller than endpoint
|
||||
*/
|
||||
int find_bucket(Field *field, const uchar *endpoint);
|
||||
private:
|
||||
int find_bucket(Field *field, const uchar *lookup_val, bool equal_is_less);
|
||||
};
|
||||
|
||||
class Columns_statistics;
|
||||
|
Reference in New Issue
Block a user