summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_stmt_next_result.3
blob: b7474ef5d73c0cd2457848bf5922a79639edf97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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]