~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/enum.h

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#pragma once
 
21
#ifndef DRIZZLED_ENUM_H
 
22
#define DRIZZLED_ENUM_H
22
23
 
23
24
namespace drizzled
24
25
{
25
26
 
26
27
/**
 
28
  Query type constants.
 
29
 
 
30
  QT_ORDINARY -- ordinary SQL query.
 
31
  QT_IS -- SQL query to be shown in INFORMATION_SCHEMA (in utf8 and without
 
32
  character set introducers).
 
33
 
 
34
  @TODO
 
35
 
 
36
  Move this out of here once Stew's done with UDF breakout.  The following headers need it:
 
37
 
 
38
    sql_lex.h --> included by session.h
 
39
    item.h
 
40
    table.h
 
41
    item_func.h
 
42
    item_subselect.h
 
43
    item_timefunc.h
 
44
    item_sum.h
 
45
    item_cmpfunc.h
 
46
    item_strfunc.h
 
47
*/
 
48
enum enum_query_type
 
49
{
 
50
  QT_ORDINARY,
 
51
  QT_IS
 
52
};
 
53
 
 
54
 
 
55
/**
27
56
 * @TODO Move to a separate header?
28
57
 *
29
58
 * It's needed by item.h and field.h, which are both inter-dependent
143
172
  TABLE_CATEGORY_INFORMATION
144
173
};
145
174
 
 
175
enum enum_enable_or_disable
 
176
{
 
177
  LEAVE_AS_IS,
 
178
  ENABLE,
 
179
  DISABLE
 
180
};
 
181
 
 
182
 
146
183
enum enum_mark_columns
147
184
{
148
185
  MARK_COLUMNS_NONE,
292
329
 
293
330
} /* namespace drizzled */
294
331
 
 
332
#endif /* DRIZZLED_ENUM_H */