-
Notifications
You must be signed in to change notification settings - Fork 259
mysql_stmt_fetch_column
Georg Richter edited this page Aug 31, 2018
·
1 revision
mysql_stmt_fetch_column - Fetches a single column into bind buffer
#include <mysql.h>
int mysql_stmt_fetch_column(MYSQL_STMT * stmt,
MYSQL_BIND * bind_arg,
unsigned int column,
unsigned long offset);
This function can be used to fetch large data of a single column in pieces.
-
stmt
- a statement handle, which was previously allocated by mysql_stmt_init(). -
bind_arg
- a pointer to a MYSQL_BIND structure. -
column
- number of column, first column is numbered zero. -
offset
- offset at which to begin retrieving data.
Returns zero on success, non-zero on failure.
- The size of the buffer is specified within MYSQL_BIND structure.
MariaDB Connector/C Reference