The world's most popular open source database
Description. Normally, network operations time out after 60 seconds. This function allows you to vary this time.
This function was introduced in MySQL 5.1.18.
Signature.
int ndb_mgm_set_timeout
(
NdbMgmHandle handle,
unsigned int timeout
)
Parameters. This function takes two parameters:
A management server handle
(NdbMgmHandle).
An amount of time to wait before timing out, expressed in milliseconds.
The timeout must be an
even multiple of 1000 — that is, it must be
equivalent to an integral number of seconds.
Fractional seconds are not supported.
Return Value.
Returns 0 on success, with any other
value representing failure.

