~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/hex_string.h

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

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
 
#ifndef DRIZZLED_ITEM_HEX_STRING_H
21
 
#define DRIZZLED_ITEM_HEX_STRING_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item/basic_constant.h>
24
23
 
39
38
  int64_t val_int();
40
39
  bool basic_const_item() const { return 1; }
41
40
  String *val_str(String*) { assert(fixed == 1); return &str_value; }
42
 
  my_decimal *val_decimal(my_decimal *);
 
41
  type::Decimal *val_decimal(type::Decimal *);
43
42
  int save_in_field(Field *field, bool no_conversions);
44
43
  enum Item_result result_type () const { return STRING_RESULT; }
45
44
  enum Item_result cast_to_int_type() const { return INT_RESULT; }
46
45
  enum_field_types field_type() const { return DRIZZLE_TYPE_VARCHAR; }
47
 
  virtual void print(String *str, enum_query_type query_type);
 
46
  virtual void print(String *str);
48
47
  bool eq(const Item *item, bool binary_cmp) const;
49
 
  virtual Item *safe_charset_converter(const CHARSET_INFO * const tocs);
 
48
  virtual Item *safe_charset_converter(const charset_info_st * const tocs);
50
49
};
51
50
 
52
51
} /* namespace drizzled */
53
52
 
54
 
#endif /* DRIZZLED_ITEM_HEX_STRING_H */