~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/null.cc

Merged fix-headers work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include CSTDINT_H
22
22
#include <drizzled/protocol.h>
23
23
#include <drizzled/item/null.h>
 
24
#include <drizzled/lex_string.h>
24
25
 
25
26
bool Item_null::eq(const Item *item, bool) const
26
27
{ return item->type() == type(); }
53
54
  return 0;
54
55
}
55
56
 
 
57
 
 
58
void Item_null::print(String *str, enum_query_type)
 
59
{
 
60
  str->append(STRING_WITH_LEN("NULL"));
 
61
}
 
62
 
 
63
 
56
64
Item *Item_null::safe_charset_converter(const CHARSET_INFO * const tocs)
57
65
{
58
66
  collation.set(tocs);