mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
MgmtSrvr.cpp:
small bugfix "ERROR Message: failed" ndb/src/mgmsrv/MgmtSrvr.cpp: small bugfix "ERROR Message: failed"
This commit is contained in:
parent
841a9c3885
commit
265bc98407
1 changed files with 2 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue