~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-04 08:13:04 UTC
  • mfrom: (2384 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110804081304-rlejjpvoos17bjdf
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  Session &session;
32
32
 
33
33
public:
34
 
  LEX_STRING name; // keep it public
35
 
  Item_func_get_user_var(Session &session_arg, LEX_STRING a):
 
34
  lex_string_t name; // keep it public
 
35
  Item_func_get_user_var(Session &session_arg, lex_string_t 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 get_name() { return name; }
 
42
  lex_string_t get_name() { return name; }
43
43
  double val_real();
44
44
  int64_t val_int();
45
45
  type::Decimal *val_decimal(type::Decimal*);