Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-threaded-clients.html
This was done with the thought that you might want to have your own alarm that can break a long read to a server. If you call a MySQL function before the thread has called mysql_init(), the thread does not have the necessary thread-specific ... This ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-insert-id.html
Use this function after you have performed an INSERT statement into a table that contains an AUTO_INCREMENT field, or have used INSERT or UPDATE to set a column value with LAST_INSERT_ID(expr). uint64_t mysql_insert_id(MYSQL *mysql) Description ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-session-track-get-first.html
SESSION_TRACK_SYSTEM_VARIABLES: This tracker type indicates that one or more tracked session system variables have been assigned a value. int mysql_session_track_get_first(MYSQL *mysql, enum enum_session_state_type type, const char **data, size_t ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-server-option.html
Enabling multiple-statement support with MYSQL_OPTION_MULTI_STATEMENTS_ON does not have quite the same effect as enabling it by passing the CLIENT_MULTI_STATEMENTS flag to mysql_real_connect(): CLIENT_MULTI_STATEMENTS also enables ... int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-shutdown.html
Dynamically linked executables that have been compiled with older versions of the libmysqlclient headers and call mysql_shutdown() must be used with the old libmysqlclient dynamic library. int mysql_shutdown(MYSQL *mysql, enum ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-send-long-data.html
Note The next mysql_stmt_execute() call ignores the bind buffer for all parameters that have been used with mysql_stmt_send_long_data() since last mysql_stmt_execute() or mysql_stmt_reset(). Errors CR_INVALID_BUFFER_USE The parameter does not have a ... 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 ...
https://dev.mysql.com/doc/c-api/8.4/en/null-mysql-store-result.html
You can always check whether the statement should have produced a nonempty result by calling mysql_field_count(). If mysql_field_count() returns a nonzero value, the statement should have produced a nonempty result. It is possible for ...
https://dev.mysql.com/doc/c-api/8.4/en/preface.html
Access to Oracle Support for Accessibility Oracle customers that have purchased support have access to electronic support through My Oracle Support. The C API provides low-level access to the MySQL client/server protocol and enables C programs to ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/client-plugin-descriptors.html
Each client plugin must have a descriptor that provides information to the client plugin API. Depending on the plugin type, the descriptor may have other members following the common members. The descriptor structure begins with a fixed set of ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/mysql-threads.html
For example, a Windows server that does not have support for named-pipe connections enabled does not create a thread to handle them. This thread also normally handles alarms and calls process_alarm() to force timeouts on connections that have been ... The MySQL server creates the following threads: Connection manager threads handle client connection requests on the network interfaces that the server listens ...