Search Results
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-free-result.html
bool mysql_stmt_free_result(MYSQL_STMT *stmt) Description Releases memory associated with the result set produced by execution of the prepared statement. If there is a cursor open for the statement, mysql_stmt_free_result() closes it.
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-init.html
MYSQL_STMT * mysql_stmt_init(MYSQL *mysql) Description Creates and returns a MYSQL_STMT handler. The handler should be freed with mysql_stmt_close(), at which point the handler becomes invalid and should no longer be used. See also Section 6.2, ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-insert-id.html
uint64_t mysql_stmt_insert_id(MYSQL_STMT *stmt) Description Returns the value generated for an AUTO_INCREMENT column by the prepared INSERT or UPDATE statement. Use this function after you have executed a prepared INSERT statement on a table which ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-num-rows.html
uint64_t mysql_stmt_num_rows(MYSQL_STMT *stmt) Description Returns the number of rows in the result set. The use of mysql_stmt_num_rows() depends on whether you used mysql_stmt_store_result() to buffer the entire result set in the statement handler. Otherwise, the row count is unavailable unless you count the rows as you fetch ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-param-count.html
unsigned long mysql_stmt_param_count(MYSQL_STMT *stmt) Description Returns the number of parameter markers present in the prepared statement. Return Values An unsigned long integer representing the number of parameters in a statement.
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-row-seek.html
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT *stmt, MYSQL_ROW_OFFSET offset) Description Sets the row cursor to an arbitrary row in a statement result set. The offset value is a row offset that should be a value returned from ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-row-tell.html
MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT *stmt) Description Returns the current position of the row cursor for the last mysql_stmt_fetch().
https://dev.mysql.com/doc/c-api/9.7/en/mysql-thread-id.html
unsigned long mysql_thread_id(MYSQL *mysql) Description Returns the thread ID of the current connection. This value can be used as an argument to mysql_kill() to kill the thread. If the connection is lost and you reconnect with mysql_ping(), the ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-thread-init.html
bool mysql_thread_init(void) Description This function must be called early within each created thread to initialize thread-specific variables. Calling mysql_thread_init() is automatically handled by mysql_init(), mysql_library_init(), ...
https://dev.mysql.com/doc/extending-mysql/9.7/en/server-plugin-descriptors.html
If the server does not find those two symbols in a library, it does not accept it as a legal plugin library and rejects it with an error. Every plugin library that contains server plugins must include a library descriptor that contains the general ...