1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

More "straightforward" memory management

Do not put Histogram objects on MEM_ROOT at all
This commit is contained in:
Sergei Petrunia
2021-09-14 17:36:10 +03:00
parent 28ad128585
commit 702f4efcd9
2 changed files with 5 additions and 3 deletions

View File

@ -151,7 +151,7 @@ class Histogram_builder;
/*
Common base for all histograms
*/
class Histogram_base : public Sql_alloc
class Histogram_base
{
public:
virtual bool parse(MEM_ROOT *mem_root, Field *field, Histogram_type type_arg,