~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-28 17:30:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2362.
  • Revision ID: olafvdspek@gmail.com-20110628173049-tubak2je3jz52wod
Remove unused Item::orig_name
Add some const

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
  String str_value;
120
120
 
121
121
  /** Name from select */
122
 
  char *name;
 
122
  const char *name;
123
123
 
124
124
  /** Length of name */
125
125
  uint32_t name_length;
126
126
 
127
 
  /** Original item name (if it was renamed) */
128
 
  char *orig_name;
129
127
  Item *next;
130
128
  uint32_t max_length;
131
129
 
191
189
  }
192
190
 
193
191
  void set_name(const char *str, uint32_t length, const charset_info_st * const cs= system_charset_info);
194
 
  /**
195
 
   * Renames item (used for views, cleanup() return original name).
196
 
   *
197
 
   * @param new_name    new name of item;
198
 
   */
199
 
  void rename(char *new_name);
200
192
  void init_make_field(SendField *tmp_field,enum enum_field_types type);
201
193
  virtual void cleanup();
202
194
  virtual void make_field(SendField *field);