Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-thread-function-reference.html
The following table summarizes the functions available for the thread control within the client. Table 8.1 C API Thread Functions Name Description mysql_thread_end() Finalize thread handler mysql_thread_init() Initialize thread handler ...For ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options4.html
For details, see Performance Schema Connection Attribute Tables, which also describes how the Performance Schema exposes connection attributes through the session_connect_attrs and session_account_connect_attrs tables. int mysql_options4(MYSQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-escape-string-quote.html
unsigned long mysql_real_escape_string_quote(MYSQL *mysql, char *to, const char *from, unsigned long length, char quote) Description This function creates a legal SQL string for use in an SQL statement. The mysql argument must be a valid, open ...
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-stmt-attr-set.html
bool mysql_stmt_attr_set(MYSQL_STMT *stmt, enum enum_stmt_attr_type option, const void *arg) Description Can be used to affect behavior for a prepared statement. This function may be called multiple times to set several options. The option argument ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-fetch.html
Each numeric and temporal type has a fixed length, as listed in the following table. Example The following example demonstrates how to fetch data from a table using mysql_stmt_result_metadata(), mysql_stmt_bind_result(), and mysql_stmt_fetch(). int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-prepare.html
However, they are not permitted for identifiers (such as table or column names), or to specify both operands of a binary operator such as the = equal sign. Metadata changes to tables or views referred to by prepared statements are detected and cause ... 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 ...
https://dev.mysql.com/doc/c-api/8.4/en/query-results.html
mysql_insert_id() returns the ID generated by the last query that inserted a row into a table with an AUTO_INCREMENT index. In addition to the result set returned by a query, you can also get the following information: mysql_affected_rows() returns ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/plugin-api-characteristics.html
This information can be examined in the INFORMATION_SCHEMA.PLUGINS table or using the SHOW PLUGINS statement. Interfaces for several types of plugins exist, such as storage engines, full-text parser, and INFORMATION_SCHEMA tables. The server plugin ...
https://dev.mysql.com/doc/relnotes/mysql-cluster/8.4/en/news-8-4-7.html
(Bug #38260769) Concurrent execution of TRUNCATE TABLE statements and starting an Ndb backup could cause the statements to hang indefinitely, affecting cluster availability. MySQL NDB Cluster 8.4.7 is a new LTS release of NDB 8.4, based on MySQL ...