Commit 6ed3ff49 authored by unknown's avatar unknown

MgmtSrvr.cpp:

  corrected erroneous comparison boolean < 0


ndb/src/mgmsrv/MgmtSrvr.cpp:
  corrected erroneous comparison boolean < 0
parent 58d79686
...@@ -2809,7 +2809,7 @@ MgmtSrvr::setConnectionDbParameter(int node1, ...@@ -2809,7 +2809,7 @@ MgmtSrvr::setConnectionDbParameter(int node1,
ConfigValues::Iterator i2(_config->m_configValues->m_config, ConfigValues::Iterator i2(_config->m_configValues->m_config,
iter.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"); msg.assign("Unable to set new value of parameter");
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment