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

more changes

This commit is contained in:
david hill
2016-10-10 14:03:26 -05:00
parent edbf5bd781
commit ebd3b05c5d
17 changed files with 49 additions and 981 deletions

View File

@ -432,20 +432,17 @@ int main(int argc, char *argv[])
catch(...)
{}
//save EEPackageType and EnableSNMP
//save EEPackageType
string EEPackageType = "rpm";
string EnableSNMP = "y";
try {
EEPackageType = sysConfigOld->getConfig(InstallSection, "EEPackageType");
EnableSNMP = sysConfigOld->getConfig(InstallSection, "EnableSNMP");
}
catch(...)
{ }
try {
sysConfigNew->setConfig(InstallSection, "EEPackageType", EEPackageType);
sysConfigNew->setConfig(InstallSection, "EnableSNMP", EnableSNMP);
}
catch(...)
{ }
@ -453,12 +450,8 @@ int main(int argc, char *argv[])
if ( EEPackageType.empty() )
EEPackageType = "rpm";
if ( EnableSNMP.empty() )
EnableSNMP = "y";
try {
sysConfigNew->setConfig(InstallSection, "EEPackageType", EEPackageType);
sysConfigNew->setConfig(InstallSection, "EnableSNMP", EnableSNMP);
}
catch(...)
{}