101
101
automatically at the end of the statement.
104
typedef int (*var_check_func)(Session *session,
105
drizzle_sys_var *var,
106
void *save, drizzle_value *value);
104
typedef int (*var_check_func)(Session*, drizzle_sys_var*, void* save, drizzle_value*);
119
117
and persist it in the provided pointer to the dynamic variable.
120
118
For example, strings may require memory to be allocated.
122
typedef void (*var_update_func)(Session *session,
123
drizzle_sys_var *var,
124
void *var_ptr, const void *save);
120
typedef void (*var_update_func)(Session*, drizzle_sys_var*, void*, const void* save);
147
143
Miscellaneous functions for plugin implementors
150
extern bool plugin_init(module::Registry ®istry,
151
boost::program_options::options_description &long_options);
152
extern bool plugin_finalize(module::Registry ®istry);
153
extern void plugin_startup_window(module::Registry ®istry, drizzled::Session &session);
154
extern void my_print_help_inc_plugins(option *options);
155
extern bool plugin_is_ready(const lex_string_t *name, int type);
156
extern void plugin_sessionvar_init(Session *session);
157
extern void plugin_sessionvar_cleanup(Session *session);
146
extern bool plugin_init(module::Registry&, boost::program_options::options_description &long_options);
147
extern bool plugin_finalize(module::Registry&);
148
extern void plugin_startup_window(module::Registry&, drizzled::Session&);
149
extern void my_print_help_inc_plugins(option* options);
150
extern void plugin_sessionvar_init(Session*);
151
extern void plugin_sessionvar_cleanup(Session*);
159
int session_in_lock_tables(const Session *session);
160
DRIZZLED_API int64_t session_test_options(const Session *session, int64_t test_options);
161
void compose_plugin_add(std::vector<std::string> options);
162
void compose_plugin_remove(std::vector<std::string> options);
163
void notify_plugin_load(std::string in_plugin_load);
153
DRIZZLED_API int64_t session_test_options(const Session*, int64_t test_options);
154
void compose_plugin_add(const std::vector<std::string>& options);
155
void compose_plugin_remove(const std::vector<std::string>& options);
156
void notify_plugin_load(const std::string& in_plugin_load);