~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.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
21
 
 
22
 
#include <drizzled/item/ident.h>
23
 
 
24
 
namespace drizzled {
25
 
 
 
20
#ifndef DRIZZLED_ITEM_FIELD_H
 
21
#define DRIZZLED_ITEM_FIELD_H
 
22
 
 
23
namespace drizzled
 
24
{
 
25
 
 
26
extern Item **not_found_item;
26
27
class COND_EQUAL;
27
28
 
28
 
extern Item **not_found_item;
29
 
 
30
29
class Item_field :public Item_ident
31
30
{
32
31
protected:
103
102
  bool set_no_const_sub(unsigned char *arg);
104
103
  Item *replace_equal_field(unsigned char *arg);
105
104
  uint32_t max_disp_length();
106
 
  Item *safe_charset_converter(const charset_info_st * const tocs);
 
105
  Item *safe_charset_converter(const CHARSET_INFO * const tocs);
107
106
  int fix_outer_field(Session *session, Field **field, Item **reference);
108
107
  virtual Item *update_value_transformer(unsigned char *select_arg);
109
 
  virtual void print(String *str);
 
108
  virtual void print(String *str, enum_query_type query_type);
110
109
 
111
110
  friend class Item_default_value;
112
111
  friend class Item_insert_value;
115
114
 
116
115
} /* namespace drizzled */
117
116
 
 
117
#endif /* DRIZZLED_ITEM_FIELD_H */