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
Merge pull request #2899 from mariadb-corporation/simpler_singletons
MCOL-5532: Simpler singletons
This commit is contained in:
@ -116,8 +116,6 @@ bool gPMProfOn = false;
|
||||
uint32_t gSession = 0;
|
||||
dbbc::Stats pmstats(statsName);
|
||||
|
||||
oam::OamCache* oamCache = oam::OamCache::makeOamCache();
|
||||
|
||||
// FIXME: there is an anon ns burried later in between 2 named namespaces...
|
||||
namespace primitiveprocessor
|
||||
{
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "columncommand.h"
|
||||
#include "blocksize.h"
|
||||
#include "oamcache.h"
|
||||
|
||||
namespace primitiveprocessor
|
||||
{
|
||||
@ -77,7 +78,7 @@ void PseudoCC::loadSingleValue(W val)
|
||||
template <typename W>
|
||||
void PseudoCC::loadPMNumber()
|
||||
{
|
||||
uint32_t pmNum = oamCache->getLocalPMId();
|
||||
uint32_t pmNum = oam::OamCache::makeOamCache()->getLocalPMId();
|
||||
loadSingleValue<W>(pmNum);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user