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

MCOL-1984 add waitPeriod to config items saved during update

This commit is contained in:
David Hall
2019-05-02 13:49:21 -05:00
parent e078d701f3
commit 72b6e3ef54

View File

@ -66,6 +66,7 @@ typedef std::vector<PerformanceModule> PerformanceModuleList;
int main(int argc, char *argv[])
{
setenv("CALPONT_HOME", "./", 1);
std::cout << "autoConfigure : main() *************" << std::endl;
Oam oam;
string systemParentOAMModuleName;
@ -326,7 +327,19 @@ int main(int argc, char *argv[])
exit(-1);
}
//setup System Language
// WaitPeriod
try
{
string waitPeriod = sysConfigOld->getConfig(SystemSection, "WaitPeriod");
if (waitPeriod.length() > 0)
{
sysConfigNew->setConfig(SystemSection, "WaitPeriod", waitPeriod);
}
}
catch (...)
{ }
//setup System Language
string systemLang = "C";
try {
systemLang = sysConfigOld->getConfig(SystemSection, "SystemLang");