1mysql_stmt_next_result(3)     MariaDB Connector/C    mysql_stmt_next_result(3)
2
3
4
5   Name
6       mysql_stmt_next_result  - prepares next result set of a prepared state‐
7       ment
8
9   Synopsis
10              #include <mysql.h>
11
12              int mysql_stmt_next_result(MYSQL_STMT * stmt);
13
14   Description
15       Prepares next result set from a previous call to  mysql_stmt_execute(3)
16       which can be retrieved by mysql_stmt_store_result(3).
17
18   Parameter
19       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
20         [mysql_stmt_init()](mysql_stmt_init().]]
21
22   Return value
23       Returns zero on success, nonzero if an error occurred.
24
25   Notes
26       • The function mysql_stmt_more_results(3) indicates if  further  result
27         sets are available.
28
29       • If  the execution of a stored procedure produced multiple result sets
30         the return value  of  mysql_stmt_errno(3)/error()  might  change  and
31         there will be no result set available.
32
33   See also
34mysql_stmt_execute(3)
35
36mysql_stmt_more_results(3)
37
38
39
40Version 3.3.1                                        mysql_stmt_next_result(3)
Impressum