Search



Search Results
Displaying 1191 to 1200 of 1907 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-hex-string.html
unsigned long mysql_hex_string(char *to, const char *from, unsigned long length) Description This function creates a legal SQL string for use in an SQL statement. The string in the from argument is encoded in hexadecimal format, with each character ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-insert-id.html
If the previous statement returned an error, the value of mysql_insert_id() is undefined. Errors ER_AUTO_INCREMENT_CONFLICT A user-specified AUTO_INCREMENT value in a multi INSERT statement falls within the range between the current AUTO_INCREMENT ... uint64_t mysql_insert_id(MYSQL *mysql) Description Returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-plugin-get-option.html
If the plugin does not have an option handler, an error occurs. int mysql_plugin_get_option(struct st_mysql_client_plugin *plugin, const char *option, void *value) Description Given a plugin structure and an option name, returns the option value.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect-dns-srv.html
Errors The same that you can get from mysql_real_connect(), plus: CR_DNS_SRV_LOOKUP_FAILED DNS SRV lookup failed. MYSQL mysql; const char *dns_srv_name = "_mysql._tcp.example.com"; mysql_init(&mysql); if ... MYSQL * mysql_real_connect_dns_srv(MYSQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-escape-string-quote.html
unsigned long mysql_real_escape_string_quote(MYSQL *mysql, char *to, const char *from, unsigned long length, char quote) Description This function creates a legal SQL string for use in an SQL statement. The mysql argument must be a valid, open ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-connection-nonblocking.html
The two functions differ as follows: mysql_reset_connection() returns a zero for success or a nonzero if an error occurred. enum net_async_status mysql_reset_connection_nonblocking(MYSQL *mysql) Description Note mysql_reset_connection_nonblocking() ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-rollback.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-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 ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-character-set.html
Example MYSQL mysql; mysql_init(&mysql); if (!mysql_real_connect(&mysql,"host","user","passwd","database",0,NULL,0)) { fprintf(stderr, "Failed to connect to database: Error: %s\n", mysql_error(&mysql)); } if (!mysql_set_character_set(&mysql, ... int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-server-option.html
ER_UNKNOWN_COM_ERROR The server did not support mysql_set_server_option() (which is the case that the server is older than 4.1.1) or the server did not support the option one tried to set. int mysql_set_server_option(MYSQL *mysql, enum ...
Displaying 1191 to 1200 of 1907 total results