28class Item_copy_string :
public Item
30 enum enum_field_types cached_field_type;
33 Item_copy_string(
Item *i) :item(i)
36 decimals=item->decimals;
37 max_length=item->max_length;
39 cached_field_type= item->field_type();
41 enum Type type()
const {
return COPY_STR_ITEM; }
42 enum Item_result result_type ()
const {
return STRING_RESULT; }
43 enum_field_types field_type()
const {
return cached_field_type; }
50 str_value.length(), &end_not_used, &err_not_used));
61 void make_field(
SendField *field) { item->make_field(field); }
63 int save_in_field(Field *field,
bool)