File tree Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -332,8 +332,6 @@ struct ssl_ctx_st;
332
332
INET6_ADDRSTRLEN
333
333
#endif
334
334
];
335
-
336
- void init ();
337
335
};
338
336
339
337
/**
@@ -802,7 +800,7 @@ struct ssl_ctx_st;
802
800
* @return Node state of cs at position i
803
801
*/
804
802
struct ndb_mgm_node_state2 *
805
- ndb_mgm_get_node_status (ndb_mgm_cluster_state2 * cs , int i );
803
+ ndb_mgm_get_node_status (struct ndb_mgm_cluster_state2 * cs , int i );
806
804
807
805
/**
808
806
* Get the number of nodes in a cluster state
@@ -811,7 +809,7 @@ struct ssl_ctx_st;
811
809
* @return Number of nodes in the cluster state
812
810
*/
813
811
int
814
- ndb_mgm_get_status_node_count (ndb_mgm_cluster_state2 * cs );
812
+ ndb_mgm_get_status_node_count (struct ndb_mgm_cluster_state2 * cs );
815
813
816
814
/**
817
815
* Dump state
Original file line number Diff line number Diff line change 25
25
#ifndef NDB_VERSION_H
26
26
#define NDB_VERSION_H
27
27
28
+ #include <stdbool.h>
28
29
#include <ndb_types.h>
29
30
#include <mysql_version.h>
30
31
Original file line number Diff line number Diff line change @@ -1517,22 +1517,6 @@ ndb_mgm_get_status_node_count(ndb_mgm_cluster_state2 *cs)
1517
1517
return cs->no_of_nodes ;
1518
1518
}
1519
1519
1520
- void
1521
- ndb_mgm_node_state2::init ()
1522
- {
1523
- node_id = 0 ;
1524
- node_type = NDB_MGM_NODE_TYPE_UNKNOWN;
1525
- node_status = NDB_MGM_NODE_STATUS_UNKNOWN;
1526
- start_phase = 0 ;
1527
- dynamic_id = 0 ;
1528
- node_group = 0 ;
1529
- version = 0 ;
1530
- connect_count = 0 ;
1531
- mysql_version = 0 ;
1532
- is_single_user = 0 ;
1533
- memset (connect_address, 0 , sizeof (connect_address));
1534
- }
1535
-
1536
1520
extern " C"
1537
1521
struct ndb_mgm_cluster_state2 *
1538
1522
ndb_mgm_get_status3 (NdbMgmHandle handle, const enum ndb_mgm_node_type types[])
You can’t perform that action at this time.
0 commit comments