~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.h

Reverted my change to interval_list

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
/* Functions to create an item. Used by sql/sql_yacc.yy */
21
21
 
22
 
#ifndef DRIZZLED_ITEM_CREATE_H
23
 
#define DRIZZLED_ITEM_CREATE_H
 
22
#ifndef DRIZZLE_SERVER_ITEM_CREATE_H
 
23
#define DRIZZLE_SERVER_ITEM_CREATE_H
24
24
 
25
25
#include <drizzled/item/func.h>
26
 
#include <drizzled/plugin/function.h>
27
 
 
28
 
namespace drizzled
29
 
{
 
26
#include <drizzled/function/create.h>
30
27
 
31
28
/**
32
29
  Public function builder interface.
143
140
    @param item_list The list of arguments to the function, can be NULL
144
141
    @return An item representing the parsed function call
145
142
  */
146
 
  Item *create(Session *session,
147
 
               const plugin::Function *fct,
148
 
               List<Item> *item_list);
 
143
  Item *create(Session *session, Function_builder *fct, List<Item> *item_list);
149
144
 
150
145
  /** Singleton. */
151
146
  static Create_udf_func s_singleton;
177
172
int item_create_init();
178
173
void item_create_cleanup();
179
174
 
180
 
} /* namespace drizzled */
181
 
 
182
 
#endif /* DRIZZLED_ITEM_CREATE_H */
 
175
#endif /* DRIZZLE_SERVER_ITEM_CREATE_H */