~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/sel_tree.h

Merge in Stewart's FK work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008-2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008-2009 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
#ifndef DRIZZLED_OPTIMIZER_SEL_TREE_H
21
21
#define DRIZZLED_OPTIMIZER_SEL_TREE_H
22
22
 
23
 
#include <drizzled/memory/sql_alloc.h>
 
23
#include "drizzled/memory/sql_alloc.h"
24
24
 
25
25
namespace drizzled
26
26
{
31
31
class RangeParameter;
32
32
class SEL_IMERGE;
33
33
class SEL_ARG;
34
 
class RorScanInfo;
35
34
 
36
35
class SEL_TREE : public drizzled::memory::SqlAlloc
37
36
{
75
74
  key_map ror_scans_map;   /* bitmask of ROR scan-able elements in keys */
76
75
  uint32_t n_ror_scans;     /* number of set bits in ror_scans_map */
77
76
 
78
 
  RorScanInfo **ror_scans;     /* list of ROR key scans */
79
 
  RorScanInfo **ror_scans_end; /* last ROR scan */
 
77
  struct st_ror_scan_info **ror_scans;     /* list of ROR key scans */
 
78
  struct st_ror_scan_info **ror_scans_end; /* last ROR scan */
80
79
  /* Note that #records for each key scan is stored in table->quick_rows */
81
80
 
82
81
};