~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/sel_arg.h

Merge Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
class SEL_ARG :public memory::SqlAlloc
202
202
{
203
203
public:
204
 
  uint8_t min_flag,max_flag,maybe_flag;
 
204
  uint8_t min_flag;
 
205
  uint8_t max_flag;
 
206
  uint8_t maybe_flag;
205
207
  uint8_t part;                                 // Which key part
206
208
  uint8_t maybe_null;
207
209
  /*
226
228
  SEL_ARG *next,*prev;    /* Links for bi-directional interval list */
227
229
  SEL_ARG *parent;        /* R-B tree parent */
228
230
  SEL_ARG *next_key_part;
229
 
  enum leaf_color { BLACK,RED } color;
230
 
  enum Type { IMPOSSIBLE, MAYBE, MAYBE_KEY, KEY_RANGE } type;
 
231
 
 
232
  enum leaf_color 
 
233
  { 
 
234
    BLACK,
 
235
    RED 
 
236
  } color;
 
237
 
 
238
  enum Type 
 
239
  { 
 
240
    IMPOSSIBLE, 
 
241
    MAYBE, 
 
242
    MAYBE_KEY, 
 
243
    KEY_RANGE 
 
244
  } type;
231
245
 
232
246
  enum 
233
247
  {