~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.h

  • Committer: Mark Atwood
  • Date: 2011-12-15 23:13:18 UTC
  • mfrom: (2465.3.1 rf3)
  • Revision ID: me@mark.atwood.name-20111215231318-mt2y2q4s5ydp79q3
mergeĀ lp:~olafvdspek/drizzle/refactor14

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  Session &session;
32
32
 
33
33
public:
34
 
  lex_string_t name; // keep it public
35
 
  Item_func_get_user_var(Session &session_arg, lex_string_t a):
 
34
  str_ref name; // keep it public
 
35
  Item_func_get_user_var(Session &session_arg, str_ref a) :
36
36
    Item_func(),
37
37
    m_cached_result_type(STRING_RESULT),
38
38
    session(session_arg),
39
39
    name(a)
40
40
  {}
41
41
  enum Functype functype() const { return GUSERVAR_FUNC; }
42
 
  lex_string_t get_name() { return name; }
 
42
  str_ref get_name() { return name; }
43
43
  double val_real();
44
44
  int64_t val_int();
45
45
  type::Decimal *val_decimal(type::Decimal*);