~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/enum_nested_loop_state.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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
 
#pragma once
21
 
 
22
 
#include <drizzled/common_fwd.h>
23
 
 
24
 
namespace drizzled {
 
20
#ifndef DRIZZLED_ENUM_NESTED_LOOP_STATE_H
 
21
#define DRIZZLED_ENUM_NESTED_LOOP_STATE_H
 
22
 
 
23
namespace drizzled
 
24
{
25
25
 
26
26
/** The states in which a nested loop join can be in */
27
27
enum enum_nested_loop_state
34
34
  NESTED_LOOP_CURSOR_LIMIT= 4
35
35
};
36
36
 
 
37
class Join;
 
38
class JoinTable;
 
39
 
37
40
typedef enum_nested_loop_state (*Next_select_func)(Join *, JoinTable *, bool);
38
41
typedef int (*Read_record_func)(JoinTable *tab);
39
42
Next_select_func setup_end_select_func(Join *join);
40
43
 
41
44
} /* namespace drizzled */
42
45
 
 
46
#endif /* DRIZZLED_ENUM_NESTED_LOOP_STATE_H */