Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-find-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_client_find_plugin(MYSQL *mysql, const char *name, int type) Description Returns a pointer to a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-register-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_client_register_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin) Description Adds a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-close.html
mysql_close() also deallocates the connection handler pointed to by mysql if the handler was allocated automatically by mysql_init() or mysql_connect().
https://dev.mysql.com/doc/c-api/8.4/en/mysql-commit.html
In particular, if the value of completion_type is RELEASE (or 2), the server performs a release after terminating a transaction and closes the client connection. Call mysql_close() from the client program to close the connection from the client side. The action of this function is subject to the value of the completion_type system ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-dump-debug-info.html
CR_SERVER_LOST The connection to the server was lost during the query. int mysql_dump_debug_info(MYSQL *mysql) Description Instructs the server to write debugging information to the error log.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-host-info.html
const char * mysql_get_host_info(MYSQL *mysql) Description Returns a string describing the type of connection in use, including the server host name. Return Values A character string representing the server host name and the connection type.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-proto-info.html
unsigned int mysql_get_proto_info(MYSQL *mysql) Description Returns the protocol version used by current connection. Return Values An unsigned integer representing the protocol version used by the current connection.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-ssl-session-data.html
void * mysql_get_ssl_session_data(MYSQL *, unsigned int n_ticket, unsigned int *out_len) Description mysql_get_ssl_session_data() permits SSL session reuse by extracting a ticket from an established session and submitting that ticket when ...This ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-load-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...) Description Loads a MySQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-num-fields.html
You can get the number of columns either from a pointer to a result set or to a connection handler. You would use the connection handler if mysql_store_result() or mysql_use_result() returned NULL (and thus you have no result set pointer). unsigned ...