~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.h

  • Committer: Andrew Hutchings
  • Date: 2011-02-01 10:23:22 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110201102322-oxztcyrjzg3c7yta
Fix counters cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#pragma once
 
20
#ifndef DRIZZLED_FUNCTION_GET_USER_VAR_H
 
21
#define DRIZZLED_FUNCTION_GET_USER_VAR_H
21
22
 
22
23
#include <drizzled/function/func.h>
23
 
#include <drizzled/lex_string.h>
24
 
 
25
 
namespace drizzled {
 
24
 
 
25
namespace drizzled
 
26
{
 
27
 
 
28
class user_var_entry;
26
29
 
27
30
class Item_func_get_user_var :public Item_func
28
31
{
45
48
  type::Decimal *val_decimal(type::Decimal*);
46
49
  String *val_str(String* str);
47
50
  void fix_length_and_dec();
48
 
  virtual void print(String *str);
 
51
  virtual void print(String *str, enum_query_type query_type);
49
52
  enum Item_result result_type() const;
50
53
  /*
51
54
    We must always return variables as strings to guard against selects of type
60
63
 
61
64
} /* namespace drizzled */
62
65
 
 
66
#endif /* DRIZZLED_FUNCTION_GET_USER_VAR_H */