Search



Search Results
Displaying 1241 to 1250 of 1965 total results
https://dev.mysql.com/doc/c-api/9.7/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/9.7/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/9.7/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/9.7/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/9.7/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/9.7/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/9.7/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 ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-fetch-column.html
int mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind, unsigned int column, unsigned long offset) Description Fetches one column from the current result set row. It should be set up the same way as for mysql_stmt_bind_result(). offset is ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-result-metadata.html
MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT *stmt) Description mysql_stmt_result_metadata() is used to obtain result set metadata for a prepared statement. Its use requires that the statement when executed by mysql_stmt_execute() does produce ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-warning-count.html
unsigned int mysql_warning_count(MYSQL *mysql) Description Returns the number of errors, warnings, and notes generated during execution of the previous SQL statement.
Displaying 1241 to 1250 of 1965 total results