-
Notifications
You must be signed in to change notification settings - Fork 258
mysql_stmt_next_result
Markus Mäkelä edited this page May 10, 2021
·
2 revisions
mysql_stmt_next_result - prepares next result set of a prepared statement
#include <mysql.h>
int mysql_stmt_next_result(MYSQL_STMT * stmt);
Prepares next result set from a previous call to mysql_stmt_execute() which can be retrieved by mysql_stmt_store_result().
-
stmt
- a statement handle, which was previously allocated by [mysql_stmt_init()](mysql_stmt_init().]]
Returns zero on success, nonzero if an error occurred.
- The function mysql_stmt_more_results() indicates if further result sets are available.
- If the execution of a stored procedure produced multiple result sets the return value of mysql_stmt_errno()/error() might change and there will be no result set available.
MariaDB Connector/C Reference