summaryrefslogtreecommitdiff
path: root/ndb/src/mgmapi/mgmapi.cpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2005-01-08 18:25:41 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2005-01-08 18:25:41 +0100
commitc16322ada6d6f5fce5137618e535d91fedb690b3 (patch)
tree2a25e809e1bfd1186b523d6950c2b1cc0c231ff0 /ndb/src/mgmapi/mgmapi.cpp
parent96d92b1289b47e343d2df348237222cda19a4870 (diff)
downloadmariadb-git-c16322ada6d6f5fce5137618e535d91fedb690b3.tar.gz
fixed some mgmapi docs
added example to ndbapi docs ndb/include/mgmapi/mgmapi.h: fixed some mgmapi docs ndb/include/ndbapi/Ndb.hpp: added examples ndb/src/mgmapi/mgmapi.cpp: removed unused parameter
Diffstat (limited to 'ndb/src/mgmapi/mgmapi.cpp')
-rw-r--r--ndb/src/mgmapi/mgmapi.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ndb/src/mgmapi/mgmapi.cpp b/ndb/src/mgmapi/mgmapi.cpp
index 166bd45d48b..747178301f0 100644
--- a/ndb/src/mgmapi/mgmapi.cpp
+++ b/ndb/src/mgmapi/mgmapi.cpp
@@ -629,7 +629,6 @@ ndb_mgm_get_status(NdbMgmHandle handle)
malloc(sizeof(ndb_mgm_cluster_state)+
noOfNodes*(sizeof(ndb_mgm_node_state)+sizeof("000.000.000.000#")));
- state->hostname= 0;
state->no_of_nodes= noOfNodes;
ndb_mgm_node_state * ptr = &state->node_states[0];
int nodeId = 0;