mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
MgmtSrvr.cpp:
corrected erroneous comparison boolean < 0
This commit is contained in:
parent
113b322e37
commit
efd7420dd9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue