Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-query-nonblocking.html
enum net_async_status mysql_real_query_nonblocking(MYSQL *mysql, const char *stmt_str, unsigned long length) Description Note mysql_real_query_nonblocking() is an asynchronous function. It is the counterpart of the mysql_real_query() synchronous ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-connection.html
int mysql_reset_connection(MYSQL *mysql) Description Resets the connection to clear the session state. mysql_reset_connection() has effects similar to mysql_change_user() or an auto-reconnect except that the connection is not closed and reopened, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-server-public-key.html
void mysql_reset_server_public_key(void) Description Clears from the client library any cached copy of the public key required by the server for RSA key pair-based password exchange. This might be necessary when the server has been restarted with a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-row-seek.html
MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES *result, MYSQL_ROW_OFFSET offset) Description Sets the row cursor to an arbitrary row in a query result set. The offset value is a row offset, typically a value returned from mysql_row_tell() or from ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-row-tell.html
MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES *result) Description Returns the current position of the row cursor for the last mysql_fetch_row().
https://dev.mysql.com/doc/c-api/8.4/en/mysql-server-init.html
int mysql_server_init(int argc, char **argv, char **groups) Description This function initializes the MySQL client library, which must be done before you call any other MySQL function. Note To avoid memory leaks after the application is done using ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-local-infile-default.html
void mysql_set_local_infile_default(MYSQL *mysql); Description Sets the LOAD DATA LOCAL callback functions to the defaults used internally by the C client library. The library calls this function automatically if mysql_set_local_infile_handler() ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-ssl-set.html
If SSL setup is incorrect, a subsequent mysql_real_connect() call returns an error when you attempt to connect. bool mysql_ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) Description ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-affected-rows.html
uint64_t mysql_stmt_affected_rows(MYSQL_STMT *stmt) Description mysql_stmt_affected_rows() may be called immediately after executing a statement with mysql_stmt_execute(). For a description of what the affected-rows value returned by this function ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-attr-get.html
bool mysql_stmt_attr_get(MYSQL_STMT *stmt, enum enum_stmt_attr_type option, void *arg) Description Can be used to get the current value for a statement attribute. The option argument is the option that you want to get; the arg should point to a ...