~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/empty_string.h

  • Committer: Brian Aker
  • Date: 2011-03-28 02:46:21 UTC
  • Revision ID: brian@tangent.org-20110328024621-wtkdtlvdplqm0ybf
Shift CHARSET_INFO to charset_info_st

Show diffs side-by-side

added added

removed removed

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