Search



Search Results
Displaying 341 to 350 of 382 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-affected-rows.html
Example char *stmt = "UPDATE products SET cost=cost*1.25 WHERE group=10"; mysql_query(&mysql,stmt); printf("%ld products updated", (long) mysql_affected_rows(&mysql)); . uint64_t mysql_affected_rows(MYSQL *mysql) Description mysql_affected_rows() ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-character-set-name.html
const char * mysql_character_set_name(MYSQL *mysql) Description Returns the default character set name for the current connection.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-find-plugin.html
struct st_mysql_client_plugin * mysql_client_find_plugin(MYSQL *mysql, const char *name, int type) Description Returns a pointer to a loaded plugin, loading the plugin first if necessary. An error occurs if the type is invalid or the plugin cannot ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-create-db.html
int mysql_create_db(MYSQL *mysql, const char *db) Description Creates the database named by the db parameter. Use mysql_real_query() or mysql_query() to issue an SQL CREATE DATABASE statement instead. CR_SERVER_LOST The connection to the server was ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-debug.html
void mysql_debug(const char *debug) Description Does a DBUG_PUSH with the given string. To use this function, you must compile the client library to support debugging. Example The call shown here causes the client library to generate a trace file ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-drop-db.html
int mysql_drop_db(MYSQL *mysql, const char *db) Description Drops the database named by the db parameter. Use mysql_real_query() or mysql_query() to issue an SQL DROP DATABASE statement instead. CR_SERVER_LOST The connection to the server was lost ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-error.html
const char * mysql_error(MYSQL *mysql) Description For the connection specified by mysql, mysql_error() returns a null-terminated string containing the error message for the most recently invoked API function that failed. If a function did not ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-client-info.html
const char * mysql_get_client_info(void) Description Returns a string that represents the MySQL client library version (for example, "8.4.6"). Return Values A character string that represents the MySQL client library version. The function value is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-host-info.html
const char * mysql_get_host_info(MYSQL *mysql) Description Returns a string describing the type of connection in use, including the server host name. Return Values A character string representing the server host name and the connection type.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-option.html
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 option argument is the option for which you want its value. The arg argument is a ...
Displaying 341 to 350 of 382 total results