~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_list.h

A number of dead code removal patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
    first= tmp.first;
127
127
    last= elements ? tmp.last : &first;
128
128
  }
129
 
  /**
130
 
    Construct a deep copy of the argument in memory root mem_root.
131
 
    The elements themselves are copied by pointer. If you also
132
 
    need to copy elements by value, you should employ
133
 
    list_copy_and_replace_each_value after creating a copy.
134
 
  */
135
 
  base_list(const base_list &rhs, MEM_ROOT *mem_root);
136
129
  inline base_list(bool) { }
137
130
  inline bool push_back(void *info)
138
131
  {
615
608
    it.replace(el->clone(mem_root));
616
609
}
617
610
 
618
 
/* sql_list.cc */
619
 
void free_list(I_List <i_string_pair> *list);
620
 
void free_list(I_List <i_string> *list);
621
 
 
622
611
 
623
612
#endif /* DRIZZLED_SQL_LIST_H */