Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-library-end.html
void mysql_library_end(void) Description This function finalizes the MySQL client library. Note To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to call ...Call ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-plugin-get-option.html
int mysql_plugin_get_option(struct st_mysql_client_plugin *plugin, const char *option, void *value) Description Given a plugin structure and an option name, returns the option value. If the plugin does not have an option handler, an error occurs.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-server-end.html
void mysql_server_end(void) Description This function finalizes the MySQL client library, which should be done when you are done using the library. Note To avoid memory leaks after the application is done using the library (for example, after ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-close.html
mysql_stmt_close() also deallocates the statement handler pointed to by stmt, which at that point becomes invalid and should no longer be used. For a failed mysql_stmt_close() call, do not call mysql_stmt_error(), or mysql_stmt_errno(), or ...If the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-errno.html
unsigned int mysql_stmt_errno(MYSQL_STMT *stmt) Description 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 ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-error.html
const char * mysql_stmt_error(MYSQL_STMT *stmt) Description For the statement specified by stmt, mysql_stmt_error() returns a null-terminated string containing the error message for the most recently invoked statement API function that can succeed ...
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. The ...You should not add a terminating semicolon (;) or \g to the ...
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-sqlstate.html
const char * mysql_stmt_sqlstate(MYSQL_STMT *stmt) Description For the statement specified by stmt, mysql_stmt_sqlstate() returns a null-terminated string containing the SQLSTATE error code for the most recently invoked prepared statement API ...
https://dev.mysql.com/doc/relnotes/connector-j/en/ar01s04.html
A PDF archive of the MySQL Connector/J 6.0 Release Notes can be found here.