Search



Search Results
Displaying 2321 to 2330 of 2406 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-server-init.html
Note To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to call mysql_server_end() (or mysql_library_end()) explicitly. int mysql_server_init(int argc, char ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-local-infile-handler.html
The arguments are the connection handler, a set of pointers to callback functions, and a pointer to a data area that the callbacks can use to share information. void mysql_set_local_infile_handler(MYSQL *mysql, int (*local_infile_init)(void **, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-sqlstate.html
If you call mysql_sqlstate() after mysql_real_connect() fails, mysql_sqlstate() might not return a useful value. For example, this happens if a host is blocked by the server and the connection is closed without any SQLSTATE value being sent to the ... const char * mysql_sqlstate(MYSQL *mysql) Description Returns a null-terminated string containing the SQLSTATE error code for the most recently executed SQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stat.html
CR_SERVER_LOST The connection to the server was lost during the query. const char * mysql_stat(MYSQL *mysql) Description Returns a character string containing information similar to that provided by the mysqladmin status command. This includes ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-bind-named-param.html
bool mysql_stmt_bind_named_param(MYSQL_STMT *stmt, MYSQL_BIND *binds, unsigned n_params, const char **names) Description mysql_stmt_bind_named_param() sets up unnamed and named (query attributes) bind parameters for prepared statements. This ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-prepare.html
CR_SERVER_LOST The connection to the server was lost during the query CR_UNKNOWN_ERROR An unknown error occurred. int mysql_stmt_prepare(MYSQL_STMT *stmt, const char *stmt_str, unsigned long length) Description Given the statement handler returned ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-reset.html
CR_SERVER_LOST The connection to the server was lost during the query CR_UNKNOWN_ERROR An unknown error occurred. bool mysql_stmt_reset(MYSQL_STMT *stmt) Description Resets a prepared statement on client and server to state after prepare. It resets ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-send-long-data.html
The mysql variable is assumed to be a valid connection handler. bool mysql_stmt_send_long_data(MYSQL_STMT *stmt, unsigned int parameter_number, const char *data, unsigned long length) Description Enables an application to send parameter data to the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-store-result.html
CR_SERVER_LOST The connection to the server was lost during the query. int mysql_stmt_store_result(MYSQL_STMT *stmt) Description Result sets are produced by calling mysql_stmt_execute() to executed prepared statements for SQL statements such as ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-store-result.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES * mysql_store_result(MYSQL *mysql) Description Note mysql_store_result() is a synchronous function. Its asynchronous counterpart is mysql_store_result_nonblocking(), ...
Displaying 2321 to 2330 of 2406 total results