~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/function/get_system_var.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/function/func.h>
23
23
#include <drizzled/lex_string.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
 
class sys_var;
29
 
 
30
 
Item *get_system_var(Session *session, sql_var_t var_type, LEX_STRING name,
31
 
                     LEX_STRING component);
 
25
namespace drizzled {
 
26
 
 
27
Item* get_system_var(Session*, sql_var_t, str_ref name, str_ref component);
32
28
 
33
29
/* A system variable */
34
30
 
35
 
class Item_func_get_system_var :public Item_func
 
31
class Item_func_get_system_var : public Item_func
36
32
{
37
33
  sys_var *var;
38
34
  sql_var_t var_type;
39
 
  LEX_STRING component;
 
35
  str_ref component;
40
36
 
41
37
public:
42
 
  Item_func_get_system_var(sys_var *var_arg, sql_var_t var_type_arg,
43
 
                           LEX_STRING *component_arg, const char *name_arg,
44
 
                           size_t name_len_arg);
 
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);
45
39
  bool fix_fields(Session *session, Item **ref);
46
40
  /*
47
41
    Stubs for pure virtual methods. Should never be called: this
55
49
  const char *func_name() const { return "get_system_var"; }
56
50
};
57
51
 
58
 
 
59
52
} /* namespace drizzled */
60
53