summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/MgmtSrvr.hpp
diff options
context:
space:
mode:
authorunknown <tulin@build.mysql.com>2004-09-09 16:22:47 +0200
committerunknown <tulin@build.mysql.com>2004-09-09 16:22:47 +0200
commit647d895acc1eae944e058dea715333962afaf4d0 (patch)
tree2710298e120fdcf9e65c08c39273be3c13fbc270 /ndb/src/mgmsrv/MgmtSrvr.hpp
parent2aa69734505bfaa79fea79fe071ae09a8c14cc96 (diff)
parent10ce6d0b2698544fb4e79facd3d161c66c6d8db8 (diff)
downloadmariadb-git-647d895acc1eae944e058dea715333962afaf4d0.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge ndb/include/mgmapi/mgmapi.h: Auto merged ndb/src/mgmapi/mgmapi.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.hpp: Auto merged ndb/src/mgmsrv/Services.cpp: Auto merged
Diffstat (limited to 'ndb/src/mgmsrv/MgmtSrvr.hpp')
-rw-r--r--ndb/src/mgmsrv/MgmtSrvr.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/MgmtSrvr.hpp b/ndb/src/mgmsrv/MgmtSrvr.hpp
index 2ed0d4d4874..d7f9f7a1af3 100644
--- a/ndb/src/mgmsrv/MgmtSrvr.hpp
+++ b/ndb/src/mgmsrv/MgmtSrvr.hpp
@@ -521,6 +521,7 @@ public:
int setDbParameter(int node, int parameter, const char * value, BaseString&);
+ const char *get_connect_address(Uint32 node_id) { return inet_ntoa(m_connect_address[node_id]); }
//**************************************************************************
private:
//**************************************************************************
@@ -560,6 +561,7 @@ private:
NodeBitmask m_reserved_nodes;
Allocated_resources m_allocated_resources;
+ struct in_addr m_connect_address[MAX_NODES];
int _setVarReqResult; // The result of the SET_VAR_REQ response
Statistics _statistics; // handleSTATISTICS_CONF store the result here,