You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-5384 This commit replaces shared pointer to CSC with CSC ctor that is cleaned up leaving a scope
CSC default ctor was private b/c it must not allow to use CSC outside thread cache. However there are some places in the plugin code that need a standalone syscat that is cleaned up leaving the scope. The decision is to make the restriction mentioned organizational rather than syntactical.
This commit is contained in:
@ -1992,7 +1992,11 @@ CalpontSystemCatalog::CalpontSystemCatalog() : fExeMgr(new ClientRotator(0, "Exe
|
||||
|
||||
CalpontSystemCatalog::~CalpontSystemCatalog()
|
||||
{
|
||||
delete fExeMgr;
|
||||
if (fExeMgr)
|
||||
{
|
||||
delete fExeMgr;
|
||||
fExeMgr = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user