~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_system_var.h

  • Committer: Brian Aker
  • Date: 2011-09-26 15:02:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2427.
  • Revision ID: brian@tangent.org-20110926150254-zpi0gifzexj2crdt
Wrap thread specfic

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
namespace drizzled {
26
26
 
27
 
Item* get_system_var(Session*, sql_var_t, str_ref name, str_ref component);
 
27
Item *get_system_var(Session *session, sql_var_t var_type, lex_string_t name,
 
28
                     lex_string_t component);
28
29
 
29
30
/* A system variable */
30
31
 
31
 
class Item_func_get_system_var : public Item_func
 
32
class Item_func_get_system_var :public Item_func
32
33
{
33
34
  sys_var *var;
34
35
  sql_var_t var_type;
35
 
  str_ref component;
 
36
  lex_string_t component;
36
37
 
37
38
public:
38
 
  Item_func_get_system_var(sys_var *var_arg, sql_var_t var_type_arg, str_ref component_arg, const char *name_arg, size_t name_len_arg);
 
39
  Item_func_get_system_var(sys_var *var_arg, sql_var_t var_type_arg,
 
40
                           lex_string_t *component_arg, const char *name_arg,
 
41
                           size_t name_len_arg);
39
42
  bool fix_fields(Session *session, Item **ref);
40
43
  /*
41
44
    Stubs for pure virtual methods. Should never be called: this
49
52
  const char *func_name() const { return "get_system_var"; }
50
53
};
51
54
 
 
55
 
52
56
} /* namespace drizzled */
53
57