diff --git a/dbcon/mysql/ha_calpont_execplan.cpp b/dbcon/mysql/ha_calpont_execplan.cpp index 41873675a..6cb25c269 100755 --- a/dbcon/mysql/ha_calpont_execplan.cpp +++ b/dbcon/mysql/ha_calpont_execplan.cpp @@ -38,7 +38,6 @@ #include #include #include -//#define NDEBUG #include #include #include @@ -2290,8 +2289,6 @@ CalpontSystemCatalog::ColType colType_MysqlToIDB (const Item* item) { if (ct.colWidth < 20) ct.colWidth = 20; // for infinidb date length - if (ct.colWidth > 65535) - ct.colWidth = 65535; } // @bug5083. MySQL gives string type for date/datetime column. // need to adjust here. diff --git a/oam/oamcpp/liboamcpp.cpp b/oam/oamcpp/liboamcpp.cpp index c3040e14a..b58b3b764 100644 --- a/oam/oamcpp/liboamcpp.cpp +++ b/oam/oamcpp/liboamcpp.cpp @@ -2811,6 +2811,8 @@ namespace oam // Get Server Type Install ID serverTypeInstall = atoi(sysConfig->getConfig("Installation", "ServerTypeInstall").c_str()); + + sysConfig; } catch (...) {} diff --git a/oam/oamcpp/liboamcpp.h b/oam/oamcpp/liboamcpp.h index 8f0dfdb3f..68c6400c6 100644 --- a/oam/oamcpp/liboamcpp.h +++ b/oam/oamcpp/liboamcpp.h @@ -1488,7 +1488,7 @@ namespace oam * @param DeviceNetworkConfig the Modules added * @param password Host Root Password */ - EXPORT void addModule(DeviceNetworkList devicenetworklist, const std::string password); + EXPORT void addModule(DeviceNetworkList devicenetworklist, const std::string password, const std::string mysqlpw); /** @brief remove Module * diff --git a/procmgr/main.cpp b/procmgr/main.cpp index 01d412610..b6f51a609 100644 --- a/procmgr/main.cpp +++ b/procmgr/main.cpp @@ -501,8 +501,6 @@ static void startMgrProcessThread() SystemModuleTypeConfig systemmoduletypeconfig; ModuleTypeConfig PMSmoduletypeconfig; ALARMManager aManager; - - int waitTime = 90; int waitTime = 180; diff --git a/procmon/processmonitor.h b/procmon/processmonitor.h index e96f65abc..5a3145963 100644 --- a/procmon/processmonitor.h +++ b/procmon/processmonitor.h @@ -500,11 +500,6 @@ public: int changeMyCnf(std::string type); - /** - *@brief run MariaDB Command Line script - */ - int runMariaDBCommandLine(std::string command); - /** *@brief run MariaDB Command Line script */