~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-19 14:24:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2445.
  • Revision ID: olafvdspek@gmail.com-20111019142427-sun0tnp0u27gqg31
Refactor

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
  /**