This function, added in MySQL 5.1.16, is used to obtain log
category and level information. It replaces the older
function, which performed the same purpose, but was not
thread-safe. (See later in this section for a brief
description of the deprecated version of the function.)
int ndb_mgm_get_clusterlog_loglevel ( NdbMgmHandle
handle, struct ndb_mgm_loglevel*
loglevel, unsigned int
the following parameters:
loglevel(log level) vector consisting of twelve elements, each of which is an
ndb_mgm_loglevelstructure and which represents a log level of the corresponding category.
sizeof the vector (
This function returns the number of returned loglevels or
-1 in the event of an error.
const unsigned int* ndb_mgm_get_loglevel_clusterlog ( NdbMgmHandle
This version of the function is now deprecated, but is still
available for backward compatibility; however, in new
applications, it is recommended that you use
it is thread-safe, and the older function is not.