44
44
add_field("VARIABLE_VALUE", 1024);
47
StateTool::Generator::Generator(Field **arg, sql_var_t option_arg, drizzle_show_var *variables_args) :
50
48
plugin::TableFunction::Generator(arg),
52
50
variables(variables_args)
60
54
bool StateTool::Generator::populate()
62
56
while (variables && variables->name)
65
59
MY_ALIGNED_BYTE_ARRAY(buff_data, SHOW_VAR_FUNC_BUFF_SIZE, int64_t);
69
63
if var->type is SHOW_FUNC, call the function.