~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/item/cache_str.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#pragma once
23
23
 
24
 
namespace drizzled
25
 
{
 
24
namespace drizzled {
26
25
 
27
 
class Item_cache_str: public Item_cache
 
26
class Item_cache_str : public Item_cache
28
27
{
29
28
  char buffer[STRING_BUFFER_USUAL_SIZE];
30
29
  String *value, value_buff;
38
37
  String* val_str(String *) { assert(fixed == 1); return value; }
39
38
  type::Decimal *val_decimal(type::Decimal *);
40
39
  enum Item_result result_type() const { return STRING_RESULT; }
41
 
  const CHARSET_INFO *charset() const { return value->charset(); };
 
40
  const charset_info_st *charset() const { return value->charset(); };
42
41
  int save_in_field(Field *field, bool no_conversions);
43
42
};
44
43