~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/empty_string.h

Merged up with build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
public:
34
34
  Item_empty_string(const char *header,uint32_t length, const CHARSET_INFO * cs= NULL) :
35
35
    Item_string("",0, cs ? cs : &my_charset_utf8_general_ci)
36
 
    { name=(char*) header; max_length= cs ? length * cs->mbmaxlen : length; }
 
36
    { name= const_cast<char*>(header); max_length= cs ? length * cs->mbmaxlen : length; }
37
37
  void make_field(SendField *field);
38
38
};
39
39