MgmtSrvr.cpp:

corrected erroneous comparison boolean < 0
This commit is contained in:
tulin@build.mysql.com 2005-01-19 15:03:34 +01:00
parent 113b322e37
commit efd7420dd9

View file

@ -2809,7 +2809,7 @@ MgmtSrvr::setConnectionDbParameter(int node1,
ConfigValues::Iterator i2(_config->m_configValues->m_config,
iter.m_config);
if(i2.set(param, (unsigned)value) < 0) {
if(i2.set(param, (unsigned)value) == false) {
msg.assign("Unable to set new value of parameter");
return -1;
}