Commit 27e8ac47 authored by unknown's avatar unknown

MgmtSrvr.cpp:

  corrected erroneous comparison boolean < 0


ndb/src/mgmsrv/MgmtSrvr.cpp:
  corrected erroneous comparison boolean < 0
parent ab17940b
......@@ -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;
}
......
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