1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#ifndef MYSQL2_RESULT_H
#define MYSQL2_RESULT_H
void init_mysql2_result(void);
VALUE rb_mysql_result_to_obj(VALUE client, VALUE encoding, VALUE options, MYSQL_RES *r, VALUE statement);
typedef struct {
VALUE fields;
VALUE fieldTypes;
VALUE rows;
VALUE client;
VALUE encoding;
VALUE statement;
my_ulonglong numberOfFields;
my_ulonglong numberOfRows;
unsigned long lastRowProcessed;
char is_streaming;
char streamingComplete;
char resultFreed;
MYSQL_RES *result;
mysql_stmt_wrapper *stmt_wrapper;
mysql_client_wrapper *client_wrapper;
/* statement result bind buffers */
MYSQL_BIND *result_buffers;
my_bool *is_null;
my_bool *error;
unsigned long *length;
} mysql2_result_wrapper;
#endif
|