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
change to use local lock file directory for nonroot
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user