Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

3.2.2.1 ndb_mgm_get_latest_error()

Description.  This function is used to get the latest error code associated with a given management server handle.

Prior to NDB 7.4.8, this function was not safe for use with NULL. In later versions, ndb_mgm_get_latest_error() is null-safe but returns an arbitrary value. (Bug #78130, Bug #21651706)

Signature. 

int ndb_mgm_get_latest_error
    (
      const NdbMgmHandle handle
    )

Parameters.  An NdbMgMHandle.

Return value.  An error code corresponding to an ndb_mgm_error value. You can obtain the related error message using ndb_mgm_get_latest_error_msg().


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.