revision-id: 5cbab7b371bd4a10eb6f8fd3e7d90339cc5653e3 (mariadb-10.6.1-128-g5cbab7b371b) parent(s): 9cd4d76577a917c06a797ba2b758520a097f3355 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-09-10 20:02:46 +0300 message: Fix the previous cset: next() should have element_count as parameter --- sql/opt_histogram_json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/opt_histogram_json.cc b/sql/opt_histogram_json.cc index 2f4174ecf51..3cfb8ae6b88 100644 --- a/sql/opt_histogram_json.cc +++ b/sql/opt_histogram_json.cc @@ -141,7 +141,7 @@ class Histogram_json_builder : public Histogram_builder @return 0 - OK */ - int next(void *elem, longlong elem_cnt) override + int next(void *elem, element_count elem_cnt) override { counters.next(elem, elem_cnt); ulonglong count= counters.get_count();