Search



Search Results
Displaying 761 to 770 of 1136 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-field-count.html
The normal use of this function is when mysql_store_result() returned NULL (and thus you have no result set pointer). unsigned int mysql_field_count(MYSQL *mysql) Description Returns the number of columns for the most recent query on the connection. In this case, you can call mysql_field_count() to determine whether mysql_store_result() should have produced a nonempty ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-option.html
For MYSQL_OPT_MAX_ALLOWED_PACKET, it is possible to set a session or global maximum buffer size, depending on whether the mysql argument to mysql_options() is non-NULL or NULL, mysql_get_option() similarly returns the session or global value ... int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-dbs.html
wild may contain the wildcard characters % or _, or may be a NULL pointer to match all databases. MYSQL_RES * mysql_list_dbs(MYSQL *mysql, const char *wild) Description Returns a result set consisting of database names on the server that match the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-fields.html
wild may contain the wildcard characters % or _, or may be a NULL pointer to match all fields. MYSQL_RES * mysql_list_fields(MYSQL *mysql, const char *table, const char *wild) Description Note mysql_list_fields() is deprecated and is subject to ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-tables.html
wild may contain the wildcard characters % or _, or may be a NULL pointer to match all tables. MYSQL_RES * mysql_list_tables(MYSQL *mysql, const char *wild) Description Returns a result set consisting of table names in the current database that ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-num-fields.html
You would use the connection handler if mysql_store_result() or mysql_use_result() returned NULL (and thus you have no result set pointer). unsigned int mysql_num_fields(MYSQL_RES *result) To pass a MYSQL* argument instead, use unsigned int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options4.html
Example This example demonstrates the calls that specify connection attributes: MYSQL mysql; mysql_init(&mysql); mysql_options(&mysql,MYSQL_OPT_CONNECT_ATTR_RESET, 0); mysql_options4(&mysql,MYSQL_OPT_CONNECT_ATTR_ADD, "key1", "value1"); ... int ...
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-ssl-set.html
bool mysql_ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) Description Note As of MySQL 8.0.35, mysql_ssl_set() is deprecated and subject to removal in a future MySQL release.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-execute.html
int mysql_stmt_execute(MYSQL_STMT *stmt) Description mysql_stmt_execute() executes the prepared query associated with the statement handler. The currently bound parameter marker values are sent to server during this call, and the server replaces ...
Displaying 761 to 770 of 1136 total results