Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-server-option.html
int mysql_set_server_option(MYSQL *mysql, enum enum_mysql_set_option option) Description Enables or disables an option for the connection. Option Description MYSQL_OPTION_MULTI_STATEMENTS_ON Enable multiple-statement support ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-shutdown.html
int mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level) Description Note mysql_shutdown() is deprecated and will be removed in a future version of MySQL. MySQL servers support only one type of shutdown; shutdown_level must ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stat.html
const char * mysql_stat(MYSQL *mysql) Description Returns a character string containing information similar to that provided by the mysqladmin status command. This includes uptime in seconds and the number of running threads, questions, reloads, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-execute.html
int mysql_stmt_execute(MYSQL_STMT *stmt) Description mysql_stmt_execute() executes the prepared query associated with the statement handler. The currently bound parameter marker values are sent to server during this call, and the server replaces ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-fetch.html
int mysql_stmt_fetch(MYSQL_STMT *stmt) Description mysql_stmt_fetch() returns the next row in the result set. It can be called only while the result set exists; that is, after a call to mysql_stmt_execute() for a statement such as SELECT that ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-prepare.html
int mysql_stmt_prepare(MYSQL_STMT *stmt, const char *stmt_str, unsigned long length) Description Given the statement handler returned by mysql_stmt_init(), prepares the SQL statement pointed to by the string stmt_str and returns a status value. You ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-reset.html
bool mysql_stmt_reset(MYSQL_STMT *stmt) Description Resets a prepared statement on client and server to state after prepare. It resets the statement on the server, data sent using mysql_stmt_send_long_data(), unbuffered result sets and current ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-send-long-data.html
bool mysql_stmt_send_long_data(MYSQL_STMT *stmt, unsigned int parameter_number, const char *data, unsigned long length) Description Enables an application to send parameter data to the server in pieces (or “chunks”). It can be called multiple ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-store-result.html
int mysql_stmt_store_result(MYSQL_STMT *stmt) Description Result sets are produced by calling mysql_stmt_execute() to executed prepared statements for SQL statements such as SELECT, SHOW, DESCRIBE, and EXPLAIN. By default, result sets for ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-store-result.html
MYSQL_RES * mysql_store_result(MYSQL *mysql) Description Note mysql_store_result() is a synchronous function. Its asynchronous counterpart is mysql_store_result_nonblocking(), for use by applications that require asynchronous communication with the ...