22 #include <drizzled/charset.h>
23 #include <drizzled/item/basic_constant.h>
35 name= name_par ? name_par :
"NULL";
37 collation.set(&my_charset_bin, DERIVATION_IGNORABLE);
39 Type type()
const {
return NULL_ITEM; }
40 bool eq(
const Item *item,
bool binary_cmp)
const;
48 enum Item_result result_type ()
const {
return STRING_RESULT; }
49 enum_field_types field_type()
const {
return DRIZZLE_TYPE_NULL; }
64 bool is_result_field() {
return result_field != 0; }
65 void save_in_result_field(
bool no_conversions)
TODO: Rename this file - func.h is stupid.
virtual void print(String *str)
String * val_str(String *str)
type::Decimal * val_decimal(type::Decimal *)
void send(plugin::Client *client, String *str)
int save_safe_in_field(Field *field)
bool basic_const_item() const
bool eq(const Item *item, bool binary_cmp) const
int save_in_field(Field *field, bool no_conversions)