mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Rollback a change from previous commit
This commit is contained in:
@@ -56,14 +56,12 @@ public:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
@brief
|
@brief
|
||||||
Legacy: this returns the size of the histogram on disk.
|
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.
|
||||||
@detail
|
|
||||||
This is only called at collection time when json_text is non-empty.
|
|
||||||
*/
|
*/
|
||||||
uint get_size() override
|
uint get_size() override
|
||||||
{
|
{
|
||||||
return json_text.size();
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_for_collection(MEM_ROOT *mem_root, Histogram_type htype_arg,
|
void init_for_collection(MEM_ROOT *mem_root, Histogram_type htype_arg,
|
||||||
|
Reference in New Issue
Block a user