1
0
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:
David Hall
2020-04-10 13:33:16 -05:00
parent 35b59e81c5
commit 225789e171
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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