18 int ndbcluster_connect(
int (*connect_callback)(
void),
20 uint connection_pool_size,
21 bool optimized_node_select,
22 const char* connect_string, uint force_nodeid);
23 void ndbcluster_disconnect(
void);
26 ulonglong ndb_get_latest_trans_gci();
27 void ndb_set_latest_trans_gci(ulonglong val);
28 int ndb_has_node_id(uint
id);
29 void ndb_get_connection_stats(Uint64* statsArr);
32 inline void do_retry_sleep(
unsigned milli_sleep)
34 my_sleep(1000*(milli_sleep + 5*(rand()%(milli_sleep/5))));