Search Results
https://dev.mysql.com/doc/c-api/8.4/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/8.4/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/8.4/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. mysql_stmt_num_rows() is intended for use with statements that return a result set, such as ...
https://dev.mysql.com/doc/c-api/8.4/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/8.4/en/mysql-stmt-param-metadata.html
MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT *stmt) This function currently does nothing. ...
https://dev.mysql.com/doc/c-api/8.4/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 ...If the executed statement is a CALL statement, it may produce multiple result ...
https://dev.mysql.com/doc/c-api/8.4/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/8.4/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/8.4/en/mysql-thread-end.html
void mysql_thread_end(void) Description Call this function as necessary before calling pthread_exit() to free memory allocated by mysql_thread_init(): For release/production builds without debugging support enabled, mysql_thread_end() need not be ...
https://dev.mysql.com/doc/c-api/8.4/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(), ...