diff options
author | unknown <tulin@build.mysql.com> | 2005-01-19 15:03:34 +0100 |
---|---|---|
committer | unknown <tulin@build.mysql.com> | 2005-01-19 15:03:34 +0100 |
commit | 6ed3ff49fc52f16f1996d93fe7d98318ad5b9730 (patch) | |
tree | 7c10ebb65abe0cbbdb385ff9d552c20e3f46c35e /ndb/src/mgmsrv/MgmtSrvr.cpp | |
parent | 58d79686650495b05abd6a5b6ae9b5be256ac73d (diff) | |
download | mariadb-git-6ed3ff49fc52f16f1996d93fe7d98318ad5b9730.tar.gz |
MgmtSrvr.cpp:
corrected erroneous comparison boolean < 0
ndb/src/mgmsrv/MgmtSrvr.cpp:
corrected erroneous comparison boolean < 0
Diffstat (limited to 'ndb/src/mgmsrv/MgmtSrvr.cpp')
-rw-r--r-- | ndb/src/mgmsrv/MgmtSrvr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/mgmsrv/MgmtSrvr.cpp b/ndb/src/mgmsrv/MgmtSrvr.cpp index 25d7a7ad07e..6c52747e222 100644 --- a/ndb/src/mgmsrv/MgmtSrvr.cpp +++ b/ndb/src/mgmsrv/MgmtSrvr.cpp @@ -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; } |