~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    */
95
95
    if ((cur_table_ref->outer_join & JOIN_TYPE_RIGHT))
96
96
    {
97
 
      List<TableList>::iterator it(cur_nested_join->join_list);
 
97
      List<TableList>::iterator it(cur_nested_join->join_list.begin());
98
98
      TableList *next;
99
99
      cur_table_ref= it++;
100
100
      while ((next= it++))
124
124
       cur_nested_join;
125
125
       cur_nested_join= cur_table_ref->nested_join)
126
126
  {
127
 
    List<TableList>::iterator it(cur_nested_join->join_list);
 
127
    List<TableList>::iterator it(cur_nested_join->join_list.begin());
128
128
    cur_table_ref= it++;
129
129
    /*
130
130
      If the current nested join is a RIGHT JOIN, the operands in
165
165
    int type;
166
166
    bool have_empty_use_join= false, have_empty_use_order= false,
167
167
         have_empty_use_group= false;
168
 
    List_iterator <Index_hint> iter(*index_hints);
 
168
    List_iterator <Index_hint> iter(index_hints->begin());
169
169
 
170
170
    /* initialize temporary variables used to collect hints of each kind */
171
171
    for (type= INDEX_HINT_IGNORE; type <= INDEX_HINT_FORCE; type++)
309
309
 
310
310
    if (index_hints)
311
311
    {
312
 
      List<Index_hint>::iterator it(*index_hints);
 
312
      List<Index_hint>::iterator it(index_hints->begin());
313
313
      Index_hint *hint;
314
314
 
315
315
      while ((hint= it++))