~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/nested_join.h

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:18:23 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051823-14fyn2kvg8pc5a15
\r and trailing whitespace removed.

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 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
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
21
21
#define DRIZZLED_NESTED_JOIN_H
22
22
 
23
23
#include <drizzled/sql_list.h>
24
 
#include <drizzled/sql_bitmap.h>
25
24
#include <drizzled/item.h>
26
25
#include <drizzled/table_list.h>
27
26
 
65
64
  table_map sj_corr_tables;
66
65
 
67
66
  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_; }
68
77
};
69
78
 
70
79
} /* namespace drizzled */