~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/hex_string.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_ITEM_HEX_STRING_H
 
21
#define DRIZZLED_ITEM_HEX_STRING_H
21
22
 
22
23
#include <drizzled/item/basic_constant.h>
23
24
 
43
44
  enum Item_result result_type () const { return STRING_RESULT; }
44
45
  enum Item_result cast_to_int_type() const { return INT_RESULT; }
45
46
  enum_field_types field_type() const { return DRIZZLE_TYPE_VARCHAR; }
46
 
  virtual void print(String *str);
 
47
  virtual void print(String *str, enum_query_type query_type);
47
48
  bool eq(const Item *item, bool binary_cmp) const;
48
 
  virtual Item *safe_charset_converter(const charset_info_st * const tocs);
 
49
  virtual Item *safe_charset_converter(const CHARSET_INFO * const tocs);
49
50
};
50
51
 
51
52
} /* namespace drizzled */
52
53
 
 
54
#endif /* DRIZZLED_ITEM_HEX_STRING_H */