https://dev.mysql.com/mysql-shutdown.html
int mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level) 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 be equal to ...
https://dev.mysql.com/mysql-stmt-attr-set.html
arg should point to a variable that is set to the desired attribute value. The following example opens a cursor for a prepared statement and sets the number of rows to fetch at a time to 5: MYSQL_STMT *stmt; int rc; unsigned long type; unsigned long ... bool mysql_stmt_attr_set(MYSQL_STMT *stmt, enum enum_stmt_attr_type option, const void *arg) Can be used to affect behavior for a prepared ...
https://dev.mysql.com/mysql-stmt-errno.html
unsigned int mysql_stmt_errno(MYSQL_STMT *stmt) For the statement specified by stmt, mysql_stmt_errno() returns the error code for the most recently invoked statement API function that can succeed or fail. Client error message numbers are listed in ...
https://dev.mysql.com/mysql-stmt-field-count.html
unsigned int mysql_stmt_field_count(MYSQL_STMT *stmt) Returns the number of columns for the most recent statement for the statement handler. An unsigned integer representing the number of columns in a result set. This value is zero for statements ...
https://dev.mysql.com/mysql-stmt-next-result.html
int mysql_stmt_next_result(MYSQL_STMT *mysql) This function is used when you use prepared CALL statements to execute stored procedures, which can return multiple result sets. Use a loop that calls mysql_stmt_next_result() to determine whether there ...
https://dev.mysql.com/mysql-stmt-prepare.html
int mysql_stmt_prepare(MYSQL_STMT *stmt, const char *stmt_str, unsigned long length) 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. The application ...You should not add a terminating semicolon (;) or \g to the ...
https://dev.mysql.com/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) Enables an application to send parameter data to the server in pieces (or “chunks”). data is a pointer to a buffer ...It can ...
https://dev.mysql.com/mysql-stmt-store-result.html
int mysql_stmt_store_result(MYSQL_STMT *stmt) 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 successfully executed ...
https://dev.mysql.com/mysql-thread-safe.html
unsigned int mysql_thread_safe(void) This function indicates whether the client library is compiled as thread-safe.
https://dev.mysql.com/mysql-warning-count.html
unsigned int mysql_warning_count(MYSQL *mysql) Returns the number of errors, warnings, and notes generated during execution of the previous SQL statement.