~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/empty_string.h

  • Committer: Mark Atwood
  • Date: 2011-07-13 22:28:29 UTC
  • mfrom: (2318.7.25 refactor1)
  • Revision ID: me@mark.atwood.name-20110713222829-sswp061b5ts7tc1k
mergeĀ lp:~olafvdspek/drizzle/refactor1

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <drizzled/item/string.h>
29
29
 
30
 
namespace drizzled
31
 
{
 
30
namespace drizzled {
32
31
 
33
 
class Item_empty_string :public Item_string
 
32
class Item_empty_string : public Item_string
34
33
{
35
34
public:
36
35
  Item_empty_string(const char *header,uint32_t length, const charset_info_st * cs= NULL) :
37
 
    Item_string("",0, cs ? cs : &my_charset_utf8_general_ci)
 
36
    Item_string("", 0, cs ? cs : &my_charset_utf8_general_ci)
38
37
    { name= const_cast<char*>(header); max_length= cs ? length * cs->mbmaxlen : length; }
39
38
  void make_field(SendField *field);
40
39
};