~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-19 10:06:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2445.
  • Revision ID: olafvdspek@gmail.com-20111019100649-akm6l7wplbnzy1r4
Use str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
{
100
100
  const char *func_name;
101
101
public:
102
 
  Item_static_string_func(const char *name_par, const char *str, uint32_t length,
103
 
                          const charset_info_st* cs,
104
 
                          Derivation dv= DERIVATION_COERCIBLE)
105
 
    :Item_string(NULL, str, length, cs, dv), func_name(name_par)
 
102
  Item_static_string_func(const char *name_par, str_ref str, const charset_info_st* cs, Derivation dv= DERIVATION_COERCIBLE) :
 
103
    Item_string(NULL, str.data(), str.size(), cs, dv), func_name(name_par)
106
104
  {}
107
105
  Item *safe_charset_converter(const charset_info_st*);
108
106