Commit 265bc984 authored by unknown's avatar unknown

MgmtSrvr.cpp:

  small bugfix "ERROR Message: failed"


ndb/src/mgmsrv/MgmtSrvr.cpp:
  small bugfix "ERROR Message: failed"
parent 841a9c38
...@@ -2783,7 +2783,8 @@ MgmtSrvr::setConnectionDbParameter(int node1, ...@@ -2783,7 +2783,8 @@ MgmtSrvr::setConnectionDbParameter(int node1,
Uint32 n1,n2; Uint32 n1,n2;
iter.get(CFG_CONNECTION_NODE_1, &n1); iter.get(CFG_CONNECTION_NODE_1, &n1);
iter.get(CFG_CONNECTION_NODE_2, &n2); iter.get(CFG_CONNECTION_NODE_2, &n2);
if(n1 == (unsigned)node1 && n2 == (unsigned)node2) if((n1 == (unsigned)node1 && n2 == (unsigned)node2)
|| (n1 == (unsigned)node2 && n2 == (unsigned)node1))
break; break;
} }
if(!iter.valid()) { if(!iter.valid()) {
......
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