We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9271bd1 commit 1861a2aCopy full SHA for 1861a2a
sql/opt_histogram_json.h
@@ -56,14 +56,12 @@ class Histogram_json_hb : public Histogram_base
56
57
/*
58
@brief
59
- Legacy: this returns the size of the histogram on disk.
60
-
61
- @detail
62
- This is only called at collection time when json_text is non-empty.
+ This used to be the size of the histogram on disk, which was redundant
+ (one can check the size directly). Return the number of buckets instead.
63
*/
64
uint get_size() override
65
{
66
- return json_text.size();
+ return size;
67
}
68
69
void init_for_collection(MEM_ROOT *mem_root, Histogram_type htype_arg,
0 commit comments