3.2.4.8 ndb_mgm_number_of_mgmd_in_connect_string()

Description.  This is a convenience function which provides an easy way to determine the number of management servers referenced in a connection string as set using ndb_mgm_set_connectstring().

This function was added in MySQL 5.1.18.

Signature. 

int ndb_mgm_number_of_mgmd_in_connect_string
    (
      NdbMgmHandle handle
    )

Parameters.  A management handle (NdbMgmHandle).

Return value.  On success, a nonnegative integer; a negative integer indicates failure.