1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix off-by-one error in Histogram_json_hb::find_bucket

This commit is contained in:
Sergei Petrunia
2021-09-14 14:29:41 +03:00
parent b179640219
commit 28ad128585
4 changed files with 70 additions and 13 deletions

View File

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