~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Mark Atwood
  • Date: 2011-10-21 14:25:19 UTC
  • mfrom: (2440.2.28 rf)
  • Revision ID: me@mark.atwood.name-20111021142519-bqnyqrkthibv70rc
Tags: 2011.10.28
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
  {
169
169
  }
170
170
 
171
 
  void set_name(const std::string &arg)
172
 
  {
173
 
    set_name(arg.c_str(), arg.length());
 
171
  void set_name(str_ref arg)
 
172
  {
 
173
    set_name(arg.data(), arg.size());
 
174
  }
 
175
 
 
176
  void set_name(const char* arg)
 
177
  {
 
178
    set_name(str_ref(arg));
174
179
  }
175
180
 
176
181
  void set_name(const char *str, uint32_t length, const charset_info_st* cs= system_charset_info);
177
 
  void init_make_field(SendField *tmp_field,enum enum_field_types type);
 
182
  void init_make_field(SendField *tmp_field, enum_field_types type);
178
183
  virtual void cleanup();
179
184
  virtual void make_field(SendField *field);
180
185
  /**