1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-27229: Estimation for filtered rows less precise ... #5

Fix special handling for values that are right next to buckets with ndv=1.
This commit is contained in:
Sergei Petrunia
2022-01-08 22:36:12 +03:00
committed by Sergei Petrunia
parent 67d4d0426f
commit 531dd708ef
4 changed files with 150 additions and 57 deletions

View File

@@ -144,6 +144,6 @@ private:
double get_left_fract(int idx);
std::string& get_end_value(int idx);
int find_bucket(const Field *field, const uchar *lookup_val, bool *equal);
int find_bucket(const Field *field, const uchar *lookup_val, int *cmp);
};