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
MCOL-1984 add waitPeriod to config items saved during update
This commit is contained in:
@ -66,6 +66,7 @@ typedef std::vector<PerformanceModule> PerformanceModuleList;
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
setenv("CALPONT_HOME", "./", 1);
|
setenv("CALPONT_HOME", "./", 1);
|
||||||
|
std::cout << "autoConfigure : main() *************" << std::endl;
|
||||||
|
|
||||||
Oam oam;
|
Oam oam;
|
||||||
string systemParentOAMModuleName;
|
string systemParentOAMModuleName;
|
||||||
@ -326,7 +327,19 @@ int main(int argc, char *argv[])
|
|||||||
exit(-1);
|
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";
|
string systemLang = "C";
|
||||||
try {
|
try {
|
||||||
systemLang = sysConfigOld->getConfig(SystemSection, "SystemLang");
|
systemLang = sysConfigOld->getConfig(SystemSection, "SystemLang");
|
||||||
|
Reference in New Issue
Block a user