~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_group_min_max_select.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 04:11:07 UTC
  • mfrom: (2183.2.14 list2)
  • mto: This revision was merged to the branch mainline in revision 2191.
  • Revision ID: brian@tangent.org-20110222041107-c67kspk1274b0326
Merge in style patch for List

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
    if (have_min)
152
152
    {
153
 
      if (! (min_functions_it= new List<Item_sum>::iterator(*min_functions)))
 
153
      if (! (min_functions_it= new List<Item_sum>::iterator(min_functions->begin())))
154
154
        return 1;
155
155
    }
156
156
 
157
157
    if (have_max)
158
158
    {
159
 
      if (! (max_functions_it= new List<Item_sum>::iterator(*max_functions)))
 
159
      if (! (max_functions_it= new List<Item_sum>::iterator(max_functions->begin())))
160
160
        return 1;
161
161
    }
162
162
  }