36
36
Create right type of Cached_item for an item.
42
41
if (item->real_item()->type() == Item::FIELD_ITEM &&
43
42
!(((Item_field *) (item->real_item()))->field->flags & BLOB_FLAG))
45
44
Item_field *real_item= (Item_field *) item->real_item();
48
46
return new Cached_item_field(cached_field);
50
48
switch (item->result_type()) {