Commit c16322ad authored by unknown's avatar unknown

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
parent 96d92b12
This diff is collapsed.
...@@ -435,6 +435,10 @@ ...@@ -435,6 +435,10 @@
*/ */
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
* @page ndbapi_async.cpp ndbapi_async.cpp
* @include ndbapi_async.cpp
*/
/** /**
* @page ndbapi_async1.cpp ndbapi_async1.cpp * @page ndbapi_async1.cpp ndbapi_async1.cpp
* @include ndbapi_async1.cpp * @include ndbapi_async1.cpp
...@@ -456,6 +460,11 @@ ...@@ -456,6 +460,11 @@
* @include ndbapi_scan.cpp * @include ndbapi_scan.cpp
*/ */
/**
* @page ndbapi_event.cpp ndbapi_event.cpp
* @include ndbapi_event.cpp
*/
/** /**
@page secAdapt Adaptive Send Algorithm @page secAdapt Adaptive Send Algorithm
......
...@@ -629,7 +629,6 @@ ndb_mgm_get_status(NdbMgmHandle handle) ...@@ -629,7 +629,6 @@ ndb_mgm_get_status(NdbMgmHandle handle)
malloc(sizeof(ndb_mgm_cluster_state)+ malloc(sizeof(ndb_mgm_cluster_state)+
noOfNodes*(sizeof(ndb_mgm_node_state)+sizeof("000.000.000.000#"))); noOfNodes*(sizeof(ndb_mgm_node_state)+sizeof("000.000.000.000#")));
state->hostname= 0;
state->no_of_nodes= noOfNodes; state->no_of_nodes= noOfNodes;
ndb_mgm_node_state * ptr = &state->node_states[0]; ndb_mgm_node_state * ptr = &state->node_states[0];
int nodeId = 0; int nodeId = 0;
......
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