~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/set_user_var.h

  • Committer: Monty Taylor
  • Date: 2009-04-14 19:16:51 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 994.
  • Revision ID: mordred@inaugust.com-20090414191651-ltbww6hpqks8k7qk
Clarified instructions in README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/function/func.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
/* Handling of user definable variables */
29
26
 
30
27
class user_var_entry;
61
58
  my_decimal *val_decimal_result(my_decimal *);
62
59
  bool update_hash(void *ptr, uint32_t length, enum Item_result type,
63
60
                   const CHARSET_INFO * const cs, Derivation dv, bool unsigned_arg);
64
 
  bool send(plugin::Client *client, String *str_arg);
65
 
  void make_field(SendField *tmp_field);
 
61
  bool send(Protocol *protocol, String *str_arg);
 
62
  void make_field(Send_field *tmp_field);
66
63
  bool check(bool use_result_field);
67
64
  bool update();
68
65
  enum Item_result result_type () const { return cached_result_type; }
69
66
  bool fix_fields(Session *session, Item **ref);
70
67
  void fix_length_and_dec();
71
68
  virtual void print(String *str, enum_query_type query_type);
72
 
 
 
69
  void print_as_stmt(String *str, enum_query_type query_type);
73
70
  const char *func_name() const { return "set_user_var"; }
74
71
  int save_in_field(Field *field, bool no_conversions,
75
72
                    bool can_use_result_field);
79
76
  }
80
77
  void save_org_in_field(Field *field) { (void)save_in_field(field, 1, 0); }
81
78
  bool register_field_in_read_map(unsigned char *arg);
 
79
  bool register_field_in_bitmap(unsigned char *arg);
82
80
};
83
81
 
84
 
} /* namespace drizzled */
85
 
 
86
82
#endif /* DRIZZLED_FUNCTION_SET_USER_VAR_H */