Search



Search Results
Displaying 361 to 370 of 382 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-query-nonblocking.html
enum net_async_status mysql_real_query_nonblocking(MYSQL *mysql, const char *stmt_str, unsigned long length) Description Note mysql_real_query_nonblocking() is an asynchronous function. It is the counterpart of the mysql_real_query() synchronous ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-query.html
int mysql_real_query(MYSQL *mysql, const char *stmt_str, unsigned long length) Description Note mysql_real_query() is a synchronous function. (Binary data may contain the \0 character, which mysql_query() interprets as the end of the statement ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-select-db.html
int mysql_select_db(MYSQL *mysql, const char *db) Description Causes the database specified by db to become the default (current) database on the connection specified by mysql. In subsequent queries, this database is the default for table ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-session-track-get-next.html
int mysql_session_track_get_next(MYSQL *mysql, enum enum_session_state_type type, const char **data, size_t *length) Description This function fetches additional session state-change information received from the server, following that retrieved by ...Following a successful call to mysql_session_track_get_first(), call mysql_session_track_get_next() repeatedly until it returns nonzero to indicate no more information is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-character-set.html
int mysql_set_character_set(MYSQL *mysql, const char *csname) Description This function is used to set the default character set for the current connection. The connection collation becomes the default collation of the character set. This function ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-sqlstate.html
const char * mysql_sqlstate(MYSQL *mysql) Description Returns a null-terminated string containing the SQLSTATE error code for the most recently executed SQL statement. Return Values A null-terminated character string containing the SQLSTATE error ...'00000' means “no error.” The values are specified by ANSI SQL and ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stat.html
const char * mysql_stat(MYSQL *mysql) Description Returns a character string containing information similar to that provided by the mysqladmin status command. This includes uptime in seconds and the number of running threads, questions, reloads, ...
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 ...Either of these two tests can be used to check for an error: if(*mysql_stmt_errno(stmt)) { // an error occurred } if (mysql_stmt_error(stmt)[0]) { // an error occurred } If the failed statement API function was mysql_stmt_close(), do not call mysql_stmt_error() to obtain error information because mysql_stmt_close() makes the statement handler ...
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-send-long-data.html
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 “chunks”). It can be called multiple ...data is a pointer to a buffer containing data to be sent, and length indicates the number of bytes in the ...
Displaying 361 to 370 of 382 total results