summaryrefslogtreecommitdiff
path: root/sql/opt_histogram_json.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2021-09-10 20:02:46 +0300
committerSergei Petrunia <psergey@askmonty.org>2022-01-19 18:10:10 +0300
commitcf8927e9cbf667f3d181943479b64b25c203962d (patch)
tree7ec89e3d8898d2fdfdb9bbcdcfa1d0fa29d2bff9 /sql/opt_histogram_json.cc
parentb6121ca36a2ceafea1ad2eee4c5ceb199f18e440 (diff)
downloadmariadb-git-cf8927e9cbf667f3d181943479b64b25c203962d.tar.gz
Fix the previous cset: next() should have element_count as parameter
Diffstat (limited to 'sql/opt_histogram_json.cc')
-rw-r--r--sql/opt_histogram_json.cc2
1 files changed, 1 insertions, 1 deletions
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 @@ public:
@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();