diff --git a/procmon/processmonitor.cpp b/procmon/processmonitor.cpp index dcac5be93..eafbd8468 100644 --- a/procmon/processmonitor.cpp +++ b/procmon/processmonitor.cpp @@ -4731,7 +4731,7 @@ int ProcessMonitor::changeMyCnf(std::string type) string dbDir = startup::StartUp::installDir() + "/mysql/db"; - if ( type == "master" ) +/* if ( type == "master" ) { // set master replication entries vector lines; @@ -4774,7 +4774,7 @@ int ProcessMonitor::changeMyCnf(std::string type) if ( type == "slave" ) { - //get slave id based on ExeMgrx setup +*/ //get slave id based on ExeMgrx setup string slaveID = "0"; string slaveModuleName = config.moduleName(); for ( int id = 1 ; ; id++ ) @@ -4891,7 +4891,7 @@ int ProcessMonitor::changeMyCnf(std::string type) newFile.close(); close(fd); - } +// } /* if ( type == "disable" ) {