~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_str.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include <drizzled/item/cache.h>
21
21
 
22
 
#ifndef DRIZZLED_ITEM_CACHE_STR_H
23
 
#define DRIZZLED_ITEM_CACHE_STR_H
 
22
#pragma once
24
23
 
25
24
namespace drizzled
26
25
{
37
36
  double val_real();
38
37
  int64_t val_int();
39
38
  String* val_str(String *) { assert(fixed == 1); return value; }
40
 
  my_decimal *val_decimal(my_decimal *);
 
39
  type::Decimal *val_decimal(type::Decimal *);
41
40
  enum Item_result result_type() const { return STRING_RESULT; }
42
 
  const CHARSET_INFO *charset() const { return value->charset(); };
 
41
  const charset_info_st *charset() const { return value->charset(); };
43
42
  int save_in_field(Field *field, bool no_conversions);
44
43
};
45
44
 
46
45
} /* namespace drizzled */
47
46
 
48
 
#endif /* DRIZZLED_ITEM_CACHE_STR_H */