Description.  This function is used to retrieve the cluster log severity filter currently in force.


The parameters and return type of this function changed significantly between MySQL 5.1.13 and 5.1.14. The changes are detailed in the Signature, Parameters, and Return Type sections that follow.

These changes were done in order to make this function thread-safe. The pre-5.1.14 version is still supported for backward compatibility, but you should protect it with a mutex if you intend to call it from more than one thread.

Signature.  As of MySQL 5.1.14:

int ndb_mgm_get_clusterlog_severity_filter
      NdbMgmHandle handle,
      struct ndb_mgm_severity* severity,
      unsigned int size

In MySQL 5.1.13 and earlier, this function took only a single parameter, as shown here:

const unsigned int* ndb_mgm_get_clusterlog_severity_filter
      NdbMgmHandle handle

Parameters.  This function added two new parameters in MySQL 5.1.14.

Return value.  This function's return type changed beginning with MySQL 5.1.14.