Commit 1861a2a2 authored by Sergei Petrunia's avatar Sergei Petrunia

Rollback a change from previous commit

parent 9271bd17
......@@ -56,14 +56,12 @@ class Histogram_json_hb : public Histogram_base
/*
@brief
Legacy: this returns the size of the histogram on disk.
@detail
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.
*/
uint get_size() override
{
return json_text.size();
return size;
}
void init_for_collection(MEM_ROOT *mem_root, Histogram_type htype_arg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment