67
67
bool is_null() { return null_value; }
71
class Item_default_value : public Item_field
75
Item_default_value(Name_resolution_context *context_arg)
76
:Item_field(context_arg, (const char *)NULL, (const char *)NULL,
79
Item_default_value(Name_resolution_context *context_arg, Item *a)
80
:Item_field(context_arg, (const char *)NULL, (const char *)NULL,
83
enum Type type() const { return DEFAULT_VALUE_ITEM; }
84
bool eq(const Item *item, bool binary_cmp) const;
85
bool fix_fields(Session *, Item **);
86
virtual void print(String *str, enum_query_type query_type);
87
int save_in_field(Field *field_arg, bool no_conversions);
88
table_map used_tables() const { return (table_map)0L; }
90
bool walk(Item_processor processor, bool walk_subquery, unsigned char *args)
92
return arg->walk(processor, walk_subquery, args) ||
93
(this->*processor)(args);
96
Item *transform(Item_transformer transformer, unsigned char *args);
99
70
#endif /* DRIZZLED_ITEM_COPY_STRING_H */