You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-3934 free memory from XML parse at shutdown
This commit is contained in:
@ -167,6 +167,7 @@ static int columnstore_done_func(void* p)
|
|||||||
{
|
{
|
||||||
DBUG_ENTER("columnstore_done_func");
|
DBUG_ENTER("columnstore_done_func");
|
||||||
|
|
||||||
|
config::Config::deleteInstanceMap();
|
||||||
my_hash_free(&mcs_open_tables);
|
my_hash_free(&mcs_open_tables);
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
pthread_mutex_destroy(&mcs_mutex);
|
pthread_mutex_destroy(&mcs_mutex);
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <my_config.h>
|
#include <my_config.h>
|
||||||
#include "idb_mysql.h"
|
#include "idb_mysql.h"
|
||||||
#include "ha_mcs_sysvars.h"
|
#include "ha_mcs_sysvars.h"
|
||||||
#include "configcpp.h"
|
|
||||||
|
|
||||||
extern handlerton* mcs_hton;
|
extern handlerton* mcs_hton;
|
||||||
|
|
||||||
@ -50,7 +49,6 @@ public:
|
|||||||
ha_mcs(handlerton* hton, TABLE_SHARE* table_arg);
|
ha_mcs(handlerton* hton, TABLE_SHARE* table_arg);
|
||||||
~ha_mcs()
|
~ha_mcs()
|
||||||
{
|
{
|
||||||
config::Config::deleteInstanceMap();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief
|
/** @brief
|
||||||
|
Reference in New Issue
Block a user