1mysql_stmt_fetch_column(3) MariaDB Connector/C mysql_stmt_fetch_column(3)
2
3
4
5 Name
6 mysql_stmt_fetch_column - Fetches a single column into bind buffer
7
8 Synopsis
9 #include <mysql.h>
10
11 int mysql_stmt_fetch_column(MYSQL_STMT * stmt,
12 MYSQL_BIND * bind_arg,
13 unsigned int column,
14 unsigned long offset);
15
16 Description
17 This function can be used to fetch large data of a single column in
18 pieces.
19
20 Parameter
21 • stmt - a statement handle, which was previously allocated by
22 mysql_stmt_init(3).
23
24 • bind_arg - a pointer to a MYSQL_BIND structure.
25
26 • column - number of column, first column is numbered zero.
27
28 • offset - offset at which to begin retrieving data.
29
30 Return value
31 Returns zero on success, non-zero on failure.
32
33 Notes
34 • The size of the buffer is specified within MYSQL_BIND structure.
35
36 See Also
37 • mysql_stmt_fetch(3)
38
39 • mysql_stmt_send_long_data(3)
40
41
42
43Version 3.2.2 mysql_stmt_fetch_column(3)