1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

change to use local lock file directory for nonroot

This commit is contained in:
david hill
2018-05-24 10:33:46 -05:00
parent faef2f820a
commit e70c947977
8 changed files with 55 additions and 22 deletions

View File

@ -2091,6 +2091,26 @@ int main(int argc, char* argv[])
catch (...)
{}
try
{
string LockFileDirectory = sysConfigOld->getConfig("Installation", "LockFileDirectory");
if ( !LockFileDirectory.empty() )
{
try
{
sysConfigNew->setConfig("Installation", "LockFileDirectory", LockFileDirectory);
}
catch (...)
{
cout << "ERROR: Problem setting LockFileDirectory in the Calpont System Configuration file" << endl;
exit(-1);
}
}
}
catch (...)
{}
try
{
string DistributedInstall = sysConfigOld->getConfig("Installation", "DistributedInstall");
@ -2111,6 +2131,7 @@ int main(int argc, char* argv[])
catch (...)
{}
// add entries from tuning guide
string ColScanReadAheadBlocks;