22 #include <drizzled/charset.h>
23 #include <drizzled/item/field.h>
24 #include <drizzled/item/ident.h>
30 enum enum_field_types cached_field_type;
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)
int save_str_value_in_field(Field *field, String *result)
table_map used_tables() const
type::Decimal * val_decimal(type::Decimal *)
String * val_str(String *)