Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-introduction.html
The size of the buffer that is allocated initially (16KB) is automatically increased up to the maximum size (16MB by default). The C API provides low-level access to the MySQL client/server protocol and enables C programs to access database ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-multiple-queries.html
At the end of the loop, call mysql_next_result() to check whether another result exists and initiate retrieval for it if so. By default, mysql_real_query() and mysql_query() interpret their statement string argument as a single statement to be ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-thread-function-reference.html
Table 8.1 C API Thread Functions Name Description mysql_thread_end() Finalize thread handler mysql_thread_init() Initialize thread handler mysql_thread_safe() Whether client is compiled thread-safe . The following table summarizes the functions ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-thread-interface.html
These functions provide control over thread initialization and termination with the client. The MySQL C API includes functions enabling threaded client applications to be written. Another C API function, mysql_thread_id(), has “thread” in its ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-bind-param.html
bool mysql_bind_param(MYSQL *mysql, unsigned n_params, MYSQL_BIND *bind, const char **name) Description mysql_bind_param(), available as of MySQL 8.0.23, enables defining attributes that apply to the next query sent to the server. For discussion of ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-find-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_client_find_plugin(MYSQL *mysql, const char *name, int type) Description Returns a pointer to a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-register-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_client_register_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin) Description Adds a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-eof.html
On the other hand, if you use mysql_use_result() to initiate a result set retrieval, the rows of the set are obtained from the server one by one as you call mysql_fetch_row() repeatedly. mysql_eof() determines whether the last row of a result set ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-load-plugin.html
The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. struct st_mysql_client_plugin * mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...) Description Loads a MySQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-more-results.html
In most cases, you can call mysql_next_result() instead to test whether more results exist and initiate retrieval if so. bool mysql_more_results(MYSQL *mysql) Description This function is used when you execute multiple statements specified as a ...