Skip to content

Commit df6eef4

Browse files
committed
Merge branch 'mysql-8.0' into mysql-trunk
Change-Id: Ib2f8e5db6f9fb62cc099e6d2200989524e65f182
2 parents a34b47f + 86c868d commit df6eef4

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

storage/ndb/include/mgmapi/mgmapi.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ struct ssl_ctx_st;
332332
INET6_ADDRSTRLEN
333333
#endif
334334
];
335-
336-
void init();
337335
};
338336

339337
/**
@@ -802,7 +800,7 @@ struct ssl_ctx_st;
802800
* @return Node state of cs at position i
803801
*/
804802
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);
806804

807805
/**
808806
* Get the number of nodes in a cluster state
@@ -811,7 +809,7 @@ struct ssl_ctx_st;
811809
* @return Number of nodes in the cluster state
812810
*/
813811
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);
815813

816814
/**
817815
* Dump state

storage/ndb/include/ndb_version.h.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#ifndef NDB_VERSION_H
2626
#define NDB_VERSION_H
2727

28+
#include <stdbool.h>
2829
#include <ndb_types.h>
2930
#include <mysql_version.h>
3031

storage/ndb/src/mgmapi/mgmapi.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,22 +1517,6 @@ ndb_mgm_get_status_node_count(ndb_mgm_cluster_state2 *cs)
15171517
return cs->no_of_nodes;
15181518
}
15191519

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-
15361520
extern "C"
15371521
struct ndb_mgm_cluster_state2 *
15381522
ndb_mgm_get_status3(NdbMgmHandle handle, const enum ndb_mgm_node_type types[])

0 commit comments

Comments
 (0)