1
#ifndef DRIZZLED_NESTED_JOIN_H
2
#define DRIZZLED_NESTED_JOIN_H
6
List<TableList> join_list; /* list of elements in the nested join */
7
table_map used_tables; /* bitmap of tables in the nested join */
8
table_map not_null_tables; /* tables that rejects nulls */
9
struct st_join_table *first_nested;/* the first nested table in the plan */
11
Used to count tables in the nested join in 2 isolated places:
12
1. In make_outerjoin_info().
13
2. check_interleaving_with_nj/restore_prev_nj_state (these are called
14
by the join optimizer.
15
Before each use the counters are zeroed by reset_nj_counters.
18
nested_join_map nj_map; /* Bit used to identify this nested join*/
20
(Valid only for semi-join nests) Bitmap of tables outside the semi-join
21
that are used within the semi-join's ON condition.
23
table_map sj_depends_on;
24
/* Outer non-trivially correlated tables */
25
table_map sj_corr_tables;
26
List<Item> sj_outer_expr_list;
29
#endif /* DRIZZLED_NESTED_JOIN_H */