1mysql_stmt_bind_result(3)     MariaDB Connector/C    mysql_stmt_bind_result(3)
2
3
4
5   Name
6       mysql_stmt_bind_result - binds result columns to variables
7
8   Synopsis
9              #include <mysql.h>
10
11              my_bool mysql_stmt_bind_result(MYSQL_STMT * stmt,
12                                             MYSQL_BIND * bind);
13
14   Description
15       Binds columns in the result set to variables.  Returns zero on success,
16       non-zero on failure.
17
18   Parameters
19       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
20         mysql_stmt_init(3).
21
22       • bind  - an array of [MYSQL_BIND]] structures.  The size of this array
23         must be equal to the number of columns in result set.
24
25   Notes
26       • To  determine   the   number   of   columns   in   result   set   use
27         mysql_stmt_field_count(3).
28
29       • A column can be bound or rebound at any time, even after a result set
30         has been partially retrieved.  The new binding takes effect the  next
31         time mysql_stmt_fetch(3) is called.
32
33   See Also
34mysql_stmt_field_count(3)
35
36mysql_stmt_execute(3)
37
38mysql_stmt_fetch(3)
39
40
41
42Version 3.3.1                                        mysql_stmt_bind_result(3)
Impressum