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:
@ -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`
|
||||||
|
@ -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
|
||||||
|
@ -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 (...)
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user