~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/nested_join.h

Fixed the clock_gettime test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define DRIZZLED_NESTED_JOIN_H
22
22
 
23
23
#include <drizzled/sql_list.h>
 
24
#include <drizzled/sql_bitmap.h>
24
25
#include <drizzled/item.h>
25
26
#include <drizzled/table_list.h>
26
27
 
27
28
#include <bitset>
28
29
 
29
 
namespace drizzled
30
 
{
31
 
 
32
30
struct nested_join_st
33
31
{
34
32
  /* list of elements in the nested join */
64
62
  table_map sj_corr_tables;
65
63
 
66
64
  List<Item> sj_outer_expr_list;
67
 
 
68
 
  /**
69
 
     True if this join nest node is completely covered by the query execution
70
 
     plan. This means two things.
71
 
 
72
 
     1. All tables on its @c join_list are covered by the plan.
73
 
 
74
 
     2. All child join nest nodes are fully covered.
75
 
   */
76
 
  bool is_fully_covered() const { return join_list.elements == counter_; }
77
65
};
78
66
 
79
 
} /* namespace drizzled */
80
 
 
81
67
#endif /* DRIZZLED_NESTED_JOIN_H */