Search



Search Results
Displaying 1551 to 1560 of 2220 total results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-optional-metadata.html
For metadata-optional connections, the mysql_fetch_field(), mysql_fetch_field_direct(), and mysql_fetch_fields() functions return NULL when resultset_metadata is set to NONE. When a client executes a statement that produces a result set, MySQL ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-prepared-statement-date-handling.html
mysql_stmt_bind_named_param(stmt, bind, 3, NULL); /* supply the data to be sent in the ts structure */ ts.year= 2002; ts.month= 02; ts.day= 03; ts.hour= 10; ts.minute= 45; ts.second= 20; mysql_stmt_execute(stmt); .. The binary (prepared statement) ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-change-user.html
Pass a db parameter of NULL if you do not want to have a default database. bool mysql_change_user(MYSQL *mysql, const char *user, const char *password, const char *db) Description Changes the user and causes the database specified by db to become ...
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-client-register-plugin.html
struct st_mysql_client_plugin * mysql_client_register_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin) Description Adds a plugin structure to the list of loaded plugins. Specify the arguments as follows: mysql: A pointer to a MYSQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-insert-id.html
This is true whether the value is automatically generated by storing the special values NULL or 0 into the column, or is an explicit nonspecial value. uint64_t mysql_insert_id(MYSQL *mysql) Description Returns the value generated for an ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-processes.html
MYSQL_RES * mysql_list_processes(MYSQL *mysql) Description Note mysql_list_processes() is deprecated and is subject to removal in a future version of MySQL. Instead, use mysql_real_query() or mysql_query() to execute a SHOW PROCESSLIST statement.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-load-plugin.html
struct st_mysql_client_plugin * mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...) Description Loads a MySQL client plugin, specified by name and type. An error occurs if the type is invalid or the plugin cannot be loaded.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect-dns-srv.html
Return Values A MYSQL* connection handler if the connection was successful, NULL if the connection was unsuccessful. MYSQL * mysql_real_connect_dns_srv(MYSQL *mysql, const char *dns_srv_name, const char *user, const char *passwd, const char *db, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect-nonblocking.html
The two functions differ as follows: mysql_real_connect() returns a connection handler or NULL. enum net_async_status mysql_real_connect_nonblocking(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int ...
Displaying 1551 to 1560 of 2220 total results