~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/nested_join.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_NESTED_JOIN_H
21
 
#define DRIZZLED_NESTED_JOIN_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item.h>
24
23
#include <drizzled/lex_string.h>
26
25
 
27
26
#include <bitset>
28
27
 
29
 
namespace drizzled
30
 
{
31
 
class TableList;
32
 
class JoinTable;
 
28
namespace drizzled {
33
29
 
34
30
class NestedJoin
35
31
{
76
72
 
77
73
     2. All child join nest nodes are fully covered.
78
74
   */
79
 
  bool is_fully_covered() const { return join_list.elements == counter_; }
 
75
  bool is_fully_covered() const { return join_list.size() == counter_; }
80
76
};
81
77
 
82
78
} /* namespace drizzled */
83
79
 
84
 
#endif /* DRIZZLED_NESTED_JOIN_H */