~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_item.cc

  • Committer: Brian Aker
  • Date: 2010-12-16 04:01:22 UTC
  • mfrom: (1996.2.1 compare)
  • Revision ID: brian@tangent.org-20101216040122-eodh5shwsij35ybe
Merge in uuid tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    Field *cached_field= real_item->field;
49
49
    return new Cached_item_field(cached_field);
50
50
  }
51
 
 
52
51
  switch (item->result_type()) {
53
52
  case STRING_RESULT:
54
53
    return new Cached_item_str(session, (Item_field *) item);
59
58
  case DECIMAL_RESULT:
60
59
    return new Cached_item_decimal(item);
61
60
  case ROW_RESULT:
 
61
  default:
62
62
    assert(0);
63
63
    return 0;
64
64
  }
65
 
 
66
 
  abort();
67
65
}
68
66
 
69
67
Cached_item::~Cached_item() {}