mysql_stmt_fetch
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_stmt_fetch - Fetches result set row from a prepared statement
#include <mysql.h>
int mysql_stmt_fetch(MYSQL_STMT * stmt);
Fetch the result from a prepared statement into the buffer bound by [mysql_stmt_bind_result()}(mysql_stmt_bind_result).
Returns 0 for success, MYSQL_NO_DATA if the end of the result set has been reached, or MYSQL_DATA_TRUNCATION if one or more values are truncated.