summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_stmt_next_result.3
diff options
context:
space:
mode:
Diffstat (limited to 'libmariadb/man/mysql_stmt_next_result.3')
-rw-r--r--libmariadb/man/mysql_stmt_next_result.342
1 files changed, 42 insertions, 0 deletions
diff --git a/libmariadb/man/mysql_stmt_next_result.3 b/libmariadb/man/mysql_stmt_next_result.3
new file mode 100644
index 00000000..b7474ef5
--- /dev/null
+++ b/libmariadb/man/mysql_stmt_next_result.3
@@ -0,0 +1,42 @@
+.\" 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 <mysql.h>
+
+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]