~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 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:
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
  }