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-520
This commit is contained in:
@ -97,7 +97,7 @@ Config* Config::makeConfig(const char* cf)
|
||||
cf = cfStr.c_str();
|
||||
|
||||
#else
|
||||
cf = getenv("CALPONT_CONFIG_FILE");
|
||||
cf = getenv("COLUMNSTORE_CONFIG_FILE");
|
||||
#endif
|
||||
|
||||
if (cf == 0 || *cf == 0)
|
||||
@ -419,7 +419,7 @@ void Config::writeConfig(const string& configFile) const
|
||||
value = c1->getConfig("SystemConfig", "SystemName");
|
||||
|
||||
//good read, save copy, copy temp file tp tmp then to Columnstore.xml
|
||||
//move to /tmp to get around a 'same file error' in mv command
|
||||
//move to get around a 'same file error' in mv command
|
||||
try
|
||||
{
|
||||
if (exists(scft)) fs::remove(scft);
|
||||
|
@ -50,12 +50,16 @@ namespace config
|
||||
|
||||
void WriteOnceConfig::initializeDefaults()
|
||||
{
|
||||
string tmpDir = startup::StartUp::tmpDir();
|
||||
|
||||
fLBID_Shift = make_pair("13", false);
|
||||
fDBRootCount = make_pair("1", false);
|
||||
fDBRMRoot = make_pair("/mnt/OAM/dbrm/BRM_saves", false);
|
||||
fSharedMemoryTmpFile1 = make_pair("/tmp/CalpontShm,", false);
|
||||
string file = tmpDir + "/ColumnstoreShm";
|
||||
fSharedMemoryTmpFile1 = make_pair(file, false);
|
||||
fTxnIDFile = make_pair("/mnt/OAM/dbrm/SMTxnID", false);
|
||||
fSharedMemoryTmpFile2 = make_pair("/tmp/CalpontSessionMonitorShm", false);
|
||||
file = tmpDir + "/CalpontSessionMonitorShm";
|
||||
fSharedMemoryTmpFile2 = make_pair(file, false);
|
||||
}
|
||||
|
||||
void WriteOnceConfig::setup()
|
||||
|
Reference in New Issue
Block a user