https://dev.mysql.com/locking-service-c-interface.html
Source files that use the locking service should include this header file: #include <mysql/service_locking.h> To acquire one or more locks, call this function: int mysql_acquire_locking_service_locks(MYSQL_THD opaque_thd, const char* lock_namespace, ... This section describes how to use the locking service C language ...
https://dev.mysql.com/mysql-affected-rows.html
Because mysql_affected_rows() returns an unsigned value, you can check for -1 by comparing the return value to (uint64_t)-1 (or to (uint64_t)~0, which is equivalent). uint64_t mysql_affected_rows(MYSQL *mysql) mysql_affected_rows() may be called ...
https://dev.mysql.com/mysql-cluster-disk-data-objects.html
NDB Cluster Disk Data storage is implemented using the following objects: Tablespace: Acts as containers for other Disk Data objects. A tablespace contains one or more data files and one or more undo log file groups. Undo log file: Contains undo ...
https://dev.mysql.com/mysql-cluster-programs-ndb-blob-tool.html
This tool can be used to check for and remove orphaned BLOB column parts from NDB tables, as well as to generate a file listing any orphaned parts. It is sometimes useful in diagnosing and repairing corrupted or damaged NDB tables containing BLOB ...
https://dev.mysql.com/mysql-cluster-programs-ndb-desc.html
ndb_desc provides a detailed description of one or more NDB tables. Usage ndb_desc -c connection_string tbl_name -d db_name [options] ndb_desc -c connection_string index_name -d db_name -t tbl_name Additional options that can be used with ndb_desc ...
https://dev.mysql.com/mysql-errno.html
unsigned int mysql_errno(MYSQL *mysql) For the connection specified by mysql, mysql_errno() returns the error code for the most recently invoked API function that can succeed or fail. Client error message numbers are listed in the MySQL errmsg.h ...
https://dev.mysql.com/mysql-get-client-version.html
unsigned long mysql_get_client_version(void) Returns an integer that represents the MySQL client library version. The value has the format XYYZZ where X is the major version, YY is the release level (or minor version), and ZZ is the sub-version ...
https://dev.mysql.com/mysql-get-server-version.html
unsigned long mysql_get_server_version(MYSQL *mysql) Returns an integer that represents the MySQL server version. The value has the format XYYZZ where X is the major version, YY is the release level (or minor version), and ZZ is the sub-version ...
https://dev.mysql.com/mysql-kill.html
int mysql_kill(MYSQL *mysql, unsigned long pid) Note mysql_kill() is deprecated and will be removed in a future version of MySQL. mysql_kill() cannot handle values larger than 32 bits, but to guard against killing the wrong thread returns an error ...
https://dev.mysql.com/mysql-list-fields.html
int i; MYSQL_RES *tbl_cols = mysql_list_fields(mysql, "mytbl", "f%"); unsigned int field_cnt = mysql_num_fields(tbl_cols); printf("Number of columns: %d\n", field_cnt); for (i=0; i < field_cnt; ++i) { /* col describes i-th column of the table */ ...