.\" Automatically generated by Pandoc 2.5 .\" .TH "mysql_stmt_next_result" "3" "" "Version 3.3.1" "MariaDB Connector/C" .hy .SS Name .PP mysql_stmt_next_result \- prepares next result set of a prepared statement .SS Synopsis .IP .nf \f[C] #include int mysql_stmt_next_result(MYSQL_STMT * stmt); \f[R] .fi .SS Description .PP Prepares next result set from a previous call to \f[B]mysql_stmt_execute(3)\f[R] which can be retrieved by \f[B]mysql_stmt_store_result(3)\f[R]. .SS Parameter .IP \[bu] 2 \f[C]stmt\f[R] \- a statement handle, which was previously allocated by [mysql_stmt_init()](mysql_stmt_init().]] .SS Return value .PP Returns zero on success, nonzero if an error occurred. .SS Notes .IP \[bu] 2 The function \f[B]mysql_stmt_more_results(3)\f[R] indicates if further result sets are available. .IP \[bu] 2 If the execution of a stored procedure produced multiple result sets the return value of \f[B]mysql_stmt_errno(3)\f[R]/error() might change and there will be no result set available. .SS See also .IP \[bu] 2 \f[B]mysql_stmt_execute(3)\f[R] .IP \[bu] 2 \f[B]mysql_stmt_more_results(3)\f[R]