1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00
This commit is contained in:
David Hill
2018-10-08 13:20:00 -05:00
parent a89013608c
commit c798d464e0
4 changed files with 6 additions and 1 deletions

View File

@ -60,6 +60,7 @@ lockdir=`$InstallDir/bin/getConfig Installation LockFileDirectory`
#get temp directory #get temp directory
tmpDir=`$InstallDir/bin/getConfig SystemConfig SystemTempFileDir` tmpDir=`$InstallDir/bin/getConfig SystemConfig SystemTempFileDir`
mkdir $tmpDir >/dev/null 2>&1
checkInstallSetup() { checkInstallSetup() {
InitialInstallFlag=`$InstallDir/bin/getConfig -c $InstallDir/etc/Columnstore.xml Installation InitialInstallFlag` InitialInstallFlag=`$InstallDir/bin/getConfig -c $InstallDir/etc/Columnstore.xml Installation InitialInstallFlag`

View File

@ -182,6 +182,7 @@ else
#get columnstore temp file directory name #get columnstore temp file directory name
TempFileDir=`$installdir/bin/getConfig SystemConfig TempFileDir` TempFileDir=`$installdir/bin/getConfig SystemConfig TempFileDir`
tmpDir=${tmpDir}${TempFileDir} tmpDir=${tmpDir}${TempFileDir}
mkdir $tmpDir >/dev/null 2>&1
fi fi
#set base columnstore temp file directory #set base columnstore temp file directory

View File

@ -866,7 +866,7 @@ int main(int argc, char* argv[])
try try
{ {
sysConfig->setConfig(InstallSection, "SingleServerInstall", "n"); sysConfig->setConfig(InstallSection, "SingleServerInstall", "y");
sysConfig->setConfig(InstallSection, "ServerTypeInstall", "2"); sysConfig->setConfig(InstallSection, "ServerTypeInstall", "2");
} }
catch (...) catch (...)

View File

@ -179,6 +179,9 @@ int main(int argc, char** argv)
//get tmp log directory //get tmp log directory
tmpLogDir = startup::StartUp::tmpDir(); tmpLogDir = startup::StartUp::tmpDir();
string cmd = "mkdir -p tmpLogDir";
system(cmd.c_str());
// create message thread // create message thread
pthread_t MessageThread; pthread_t MessageThread;