~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_group_min_max_select.h

Merge Padraig

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;
93
95
 
94
96
  /*
95
97
    The following two members are public to allow easy access from
96
 
    TRP_GROUP_MIN_MAX::make_quick()
 
98
    GroupMinMaxReadPlan::make_quick()
97
99
  */
98
100
  drizzled::memory::Root alloc; /**< Memory pool for this and quick_prefix_select data. */
99
101
  QuickRangeSelect *quick_prefix_select; /**< For retrieval of group prefixes. */