Description. This function retrieves the connectstring used for a connection.
This function returns the default connectstring if no call
to ndb_mgm_set_connectstring()
has been
performed. In addition, the returned connectstring may be
formatted slightly differently than the original in that it
may contain specifiers not present in the original.
The connectstring format is the same as that discussed for
Section 3.2.4.9, “ndb_mgm_set_connectstring()
”.
Signature.
const char* ndb_mgm_get_connectstring ( NdbMgmHandlehandle
, char*buffer
, intsize
)
Parameters. This function takes three arguments:
An NdbMgmHandle
.
A pointer to a buffer
in
which to place the result.
The size
of the buffer.
Return value.
The connectstring — this is the same value that is
pushed to the buffer
.