1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-522 changes

This commit is contained in:
david hill
2017-05-21 12:36:49 -05:00
parent 6066de35a4
commit b355129d6a
5 changed files with 95 additions and 16 deletions

View File

@ -1843,6 +1843,24 @@ int main(int argc, char *argv[])
catch(...)
{}
try {
string DistributedInstall = sysConfigOld->getConfig("Installation", "DistributedInstall");
if ( !DistributedInstall.empty() )
{
try {
sysConfigNew->setConfig("Installation", "DistributedInstall", DistributedInstall);
}
catch(...)
{
cout << "ERROR: Problem setting DistributedInstall in the Calpont System Configuration file" << endl;
exit(-1);
}
}
}
catch(...)
{}
//Write out Updated System Configuration File
sysConfigNew->write();
}