~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/nested_join.h

fix pthread atomics. operator precedence is important. The unit test now passes.

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
 
64
65
  table_map sj_corr_tables;
65
66
 
66
67
  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
68
};
78
69
 
79
70
} /* namespace drizzled */