~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Mark Atwood
  • Date: 2011-07-07 02:23:07 UTC
  • mfrom: (2318.6.116 refactor18)
  • Revision ID: me@mark.atwood.name-20110707022307-4db00nqaaczzc3jv
mergeĀ lp:~olafvdspek/drizzle/refactor18

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);
674
666
                             traverse_order order);
675
667
 
676
668
  virtual bool remove_dependence_processor(unsigned char * arg);
677
 
  virtual bool remove_fixed(unsigned char * arg);
678
669
  virtual bool collect_item_field_processor(unsigned char * arg);
679
670
  virtual bool find_item_in_field_list_processor(unsigned char *arg);
680
671
  virtual bool change_context_processor(unsigned char *context);
776
767
 
777
768
  uint32_t max_char_length() const;
778
769
 
779
 
  void fix_length_and_charset(uint32_t max_char_length_arg, charset_info_st *cs);
780
770
  void fix_char_length(uint32_t max_char_length_arg);
781
 
  void fix_char_length_uint64_t(uint64_t max_char_length_arg);
782
 
  void fix_length_and_charset_datetime(uint32_t max_char_length_arg);
783
771
 
784
772
protected:
785
773
  Session &getSession()