1
struct st_mysql_lex_string
6
typedef struct st_mysql_lex_string MYSQL_LEX_STRING;
13
typedef struct st_mysql_xid MYSQL_XID;
14
enum enum_mysql_show_type
16
SHOW_UNDEF, SHOW_BOOL, SHOW_INT, SHOW_LONG,
17
SHOW_LONGLONG, SHOW_CHAR, SHOW_CHAR_PTR,
18
SHOW_ARRAY, SHOW_FUNC, SHOW_DOUBLE
20
struct st_mysql_show_var {
23
enum enum_mysql_show_type type;
25
typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *);
26
struct st_mysql_sys_var;
27
struct st_mysql_value;
28
typedef int (*mysql_var_check_func)(void* thd,
29
struct st_mysql_sys_var *var,
30
void *save, struct st_mysql_value *value);
31
typedef void (*mysql_var_update_func)(void* thd,
32
struct st_mysql_sys_var *var,
33
void *var_ptr, const void *save);
34
struct st_mysql_plugin
43
int (*deinit)(void *);
45
struct st_mysql_show_var *status_vars;
46
struct st_mysql_sys_var **system_vars;
49
enum enum_ftparser_mode
51
MYSQL_FTPARSER_SIMPLE_MODE= 0,
52
MYSQL_FTPARSER_WITH_STOPWORDS= 1,
53
MYSQL_FTPARSER_FULL_BOOLEAN_INFO= 2
55
enum enum_ft_token_type
59
FT_TOKEN_LEFT_PAREN= 2,
60
FT_TOKEN_RIGHT_PAREN= 3,
63
typedef struct st_mysql_ftparser_boolean_info
65
enum enum_ft_token_type type;
72
} MYSQL_FTPARSER_BOOLEAN_INFO;
73
typedef struct st_mysql_ftparser_param
75
int (*mysql_parse)(struct st_mysql_ftparser_param *,
76
char *doc, int doc_len);
77
int (*mysql_add_word)(struct st_mysql_ftparser_param *,
78
char *word, int word_len,
79
MYSQL_FTPARSER_BOOLEAN_INFO *boolean_info);
82
struct charset_info_st *cs;
86
enum enum_ftparser_mode mode;
87
} MYSQL_FTPARSER_PARAM;
88
struct st_mysql_ftparser
90
int interface_version;
91
int (*parse)(MYSQL_FTPARSER_PARAM *param);
92
int (*init)(MYSQL_FTPARSER_PARAM *param);
93
int (*deinit)(MYSQL_FTPARSER_PARAM *param);
95
struct st_mysql_storage_engine
97
int interface_version;
100
struct st_mysql_daemon
102
int interface_version;
104
struct st_mysql_information_schema
106
int interface_version;
108
struct st_mysql_value
110
int (*value_type)(struct st_mysql_value *);
111
const char *(*val_str)(struct st_mysql_value *, char *buffer, int *length);
112
int (*val_real)(struct st_mysql_value *, double *realbuf);
113
int (*val_int)(struct st_mysql_value *, long long *intbuf);
115
int thd_in_lock_tables(const void* thd);
116
int thd_tablespace_op(const void* thd);
117
long long thd_test_options(const void* thd, long long test_options);
118
int thd_sql_command(const void* thd);
119
const char *thd_proc_info(void* thd, const char *info);
120
void **thd_ha_data(const void* thd, const struct handlerton *hton);
121
int thd_tx_isolation(const void* thd);
122
char *thd_security_context(void* thd, char *buffer, unsigned int length,
123
unsigned int max_query_len);
124
void thd_inc_row_count(void* thd);
125
int mysql_tmpfile(const char *prefix);
126
int thd_killed(const void* thd);
127
unsigned long thd_get_thread_id(const void* thd);
128
void *thd_alloc(void* thd, unsigned int size);
129
void *thd_calloc(void* thd, unsigned int size);
130
char *thd_strdup(void* thd, const char *str);
131
char *thd_strmake(void* thd, const char *str, unsigned int size);
132
void *thd_memdup(void* thd, const void* str, unsigned int size);
133
MYSQL_LEX_STRING *thd_make_lex_string(void* thd, MYSQL_LEX_STRING *lex_str,
134
const char *str, unsigned int size,
135
int allocate_lex_string);
136
void thd_get_xid(const void* thd, MYSQL_XID *xid);
137
void mysql_query_cache_invalidate4(void* thd,
138
const char *key, unsigned int key_length,