Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-prepared-statement-function-reference.html
The following table summarizes the functions available for prepared statement processing. For greater detail, see the descriptions in Section 6.4, “C API Prepared Statement Function Descriptions”.
https://dev.mysql.com/doc/c-api/8.4/en/c-api-running-clients.html
Undefined-reference errors might occur at runtime when you try to execute a MySQL program. If these errors specify symbols that start with mysql_ or indicate that the libmysqlclient library cannot be found, it means that your system cannot find the ... If, after an upgrade, you experience problems with compiled client programs, such as Commands out of sync or unexpected core dumps, the programs were probably compiled using old header or library ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-affected-rows.html
-1 indicates that the query returned an error or that, for a SELECT query, mysql_affected_rows() was called prior to calling mysql_store_result(). uint64_t mysql_affected_rows(MYSQL *mysql) Description mysql_affected_rows() may be called ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-autocommit.html
bool mysql_autocommit(MYSQL *mysql, bool mode) Description Sets autocommit mode on if mode is 1, off if mode is 0.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-binlog-fetch.html
Errors Example See Section 10.4, “C API Binary Log Function Descriptions”. int mysql_binlog_fetch(MYSQL *mysql, MYSQL_RPL *rpl) Description Fetch one event from the replication event stream. After a successful call, the size member indicates ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-binlog-open.html
Errors CR_FILE_NAME_TOO_LONG The specified binary log file name was too long. int mysql_binlog_open(MYSQL *mysql, MYSQL_RPL *rpl) Description Open a new replication event stream, to read a MySQL server binary log. rpl: A MYSQL_RPL structure that ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-commit.html
The action of this function is subject to the value of the completion_type system variable. In particular, if the value of completion_type is RELEASE (or 2), the server performs a release after terminating a transaction and closes the client ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-lengths.html
Errors mysql_fetch_lengths() is valid only for the current row of the result set. unsigned long * mysql_fetch_lengths(MYSQL_RES *result) Description Returns the lengths of the columns of the current row within a result set. If you plan to copy ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-option.html
Nonzero if an error occurred; this occurs for option values that cannot be queried. int mysql_get_option(MYSQL *mysql, enum mysql_option option, const void *arg) Description Returns the current value of an option settable using mysql_options(). The ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-ssl-session-data.html
void * mysql_get_ssl_session_data(MYSQL *, unsigned int n_ticket, unsigned int *out_len) Description mysql_get_ssl_session_data() permits SSL session reuse by extracting a ticket from an established session and submitting that ticket when ...