Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-register-plugin.html
struct st_mysql_client_plugin * mysql_client_register_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin) Description Adds a plugin structure to the list of loaded plugins. Specify the arguments as follows: mysql: A pointer to a MYSQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-debug.html
void mysql_debug(const char *debug) Description Does a DBUG_PUSH with the given string. To use this function, you must compile the client library to support debugging. Example The call shown here causes the client library to generate a trace file ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-error.html
const char * mysql_error(MYSQL *mysql) Description For the connection specified by mysql, mysql_error() returns a null-terminated string containing the error message for the most recently invoked API function that failed. If a function did not ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-field-direct.html
MYSQL_FIELD * mysql_fetch_field_direct(MYSQL_RES *result, unsigned int fieldnr) Description Given a field number fieldnr for a column within a result set, returns that column's field definition as a MYSQL_FIELD structure. Use this function to ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-field.html
MYSQL_FIELD * mysql_fetch_field(MYSQL_RES *result) Description Returns the definition of one column of a result set as a MYSQL_FIELD structure. Call this function repeatedly to retrieve information about all columns in the result set. For ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-fields.html
MYSQL_FIELD * mysql_fetch_fields(MYSQL_RES *result) Description Returns an array of all MYSQL_FIELD structures for a result set. Each structure provides the field definition for one column of the result set. For metadata-optional connections, this ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-row.html
MYSQL_ROW mysql_fetch_row(MYSQL_RES *result) Description Note mysql_fetch_row() is a synchronous function. Its asynchronous counterpart is mysql_fetch_row_nonblocking(), for use by applications that require asynchronous communication with the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-field-count.html
unsigned int mysql_field_count(MYSQL *mysql) Description Returns the number of columns for the most recent query on the connection. The normal use of this function is when mysql_store_result() returned NULL (and thus you have no result set pointer). In this case, you can call mysql_field_count() to determine whether mysql_store_result() should have produced a nonempty ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-free-result.html
void mysql_free_result(MYSQL_RES *result) Description Note mysql_free_result() is a synchronous function. Its asynchronous counterpart is mysql_free_result_nonblocking(), for use by applications that require asynchronous communication with the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-client-info.html
const char * mysql_get_client_info(void) Description Returns a string that represents the MySQL client library version (for example, "8.4.6"). The function value is the version of MySQL that provides the client library. For more information, see ...