~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_group_min_max_select.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-01-26 19:35:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1276.
  • Revision ID: osullivan.padraig@gmail.com-20100126193532-yryw4yn96entuyy7
Replaced a DYNAMIC_ARRAY with std::vector in the range optimizer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "drizzled/optimizer/range.h"
24
24
 
 
25
#include <vector>
 
26
 
25
27
namespace drizzled
26
28
{
27
29
 
81
83
  uint32_t min_max_arg_len; /**< The length of the MIN/MAX argument field */
82
84
  unsigned char *key_infix; /**< Infix of constants from equality predicates. */
83
85
  uint32_t key_infix_len;
84
 
  DYNAMIC_ARRAY min_max_ranges; /**< Array of range ptrs for the MIN/MAX field. */
 
86
  std::vector<QuickRange *> min_max_ranges; /**< Array of range ptrs for the MIN/MAX field. */
85
87
  uint32_t real_prefix_len; /**< Length of key prefix extended with key_infix. */
86
88
  uint32_t real_key_parts;  /**< A number of keyparts in the above value.      */
87
89
  List<Item_sum> *min_functions;