~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
/* The old structures from unireg */
22
22
 
23
 
#ifndef DRIZZLED_STRUCTS_H
24
 
#define DRIZZLED_STRUCTS_H
 
23
#pragma once
25
24
 
26
25
#include <drizzled/base.h>
27
26
#include <drizzled/definitions.h>
28
27
#include <drizzled/lex_string.h>
29
28
#include <drizzled/thr_lock.h>
30
29
 
31
 
namespace drizzled
32
 
{
33
 
 
34
 
namespace internal
35
 
{
36
 
typedef struct st_io_cache IO_CACHE;
37
 
}
38
 
 
39
 
class Table;
40
 
class Field;
 
30
namespace drizzled {
41
31
 
42
32
class KeyPartInfo 
43
33
{       /* Info about a key part */
93
83
};
94
84
 
95
85
 
96
 
class JoinTable;
97
 
 
98
86
class RegInfo 
99
87
{
100
88
public:         /* Extra info about reg */
114
102
  }
115
103
};
116
104
 
117
 
class Session;
118
 
class Cursor;
119
 
namespace optimizer { class SqlSelect; }
120
 
 
121
105
typedef int *(*update_var)(Session *, struct drizzle_show_var *);
122
106
 
123
107
} /* namespace drizzled */
129
113
#define STATUS_NO_PARENT        4       /* Parent record wasn't found */
130
114
#define STATUS_NULL_ROW         32      /* table->null_row is set */
131
115
 
132
 
#endif /* DRIZZLED_STRUCTS_H */