1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-05 15:41:14 +03:00
This commit is contained in:
David Hill
2018-09-24 11:50:56 -05:00
parent 72f514ca54
commit 681cfd34eb
20 changed files with 292 additions and 1245 deletions

View File

@ -61,7 +61,7 @@ bool mainResumeFlag;
string USER = "root";
string PMwithUM = "n";
bool startProcMon = false;
string tmpLogDir;
//extern std::string gOAMParentModuleName;
extern bool gOAMParentModuleFlag;
@ -138,6 +138,9 @@ int main(int argc, char** argv)
string systemLang = "C";
setlocale(LC_ALL, systemLang.c_str());
//get tmp log directory
tmpLogDir = startup::StartUp::tmpDir();
// create message thread
pthread_t MessageThread;
@ -196,7 +199,7 @@ int main(int argc, char** argv)
string modType = config.moduleType();
//run the module install script
string cmd = startup::StartUp::installDir() + "/bin/module_installer.sh " + " --installdir=" + startup::StartUp::installDir() + " --module=" + modType + " > /tmp/module_installer.log 2>&1";
string cmd = startup::StartUp::installDir() + "/bin/module_installer.sh " + " --installdir=" + startup::StartUp::installDir() + " --module=" + modType + " > " + tmpLogDir + "/module_installer.log 2>&1";
log.writeLog(__LINE__, "run module_installer.sh", LOG_TYPE_DEBUG);
log.writeLog(__LINE__, cmd, LOG_TYPE_DEBUG);