1mysql_stmt_store_result(3)    MariaDB Connector/C   mysql_stmt_store_result(3)
2
3
4
5   Name
6       mysql_stmt_store_result - Transfers a result set from a prepared state‐
7       ment
8
9   Synopsis
10              #include <mysql.h>
11
12              int mysql_stmt_store_result(MYSQL_STMT * stmt);
13
14   Description
15       You must call mysql_stmt_store_result() for every query  that  success‐
16       fully produces a result set only if you want to buffer the complete re‐
17       sult set by the client, so that the subsequent mysql_stmt_fetch(3) call
18       returns buffered data.
19
20   Parameter
21       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
22         mysql_stmt_init(3).
23
24   Return value
25       Returns zero on success, nonzero if an error occurred.  ## Notes *  You
26       can  detect whether the statement produced a result set by checking the
27       return value of mysql_stmt_field_count(3) function.
28
29   See Also
30mysql_stmt_field_count(3)
31
32mysql_stmt_fetch(3)
33
34
35
36Version 3.3.1                                       mysql_stmt_store_result(3)
Impressum