~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
Remove custom error.

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
 
 
21
 
 
22
20
#ifndef DRIZZLED_SQL_BASE_H
23
21
#define DRIZZLED_SQL_BASE_H
24
22
 
25
23
#include <drizzled/table.h>
26
 
#include <drizzled/table_list.h>
27
24
#include <drizzled/table/concurrent.h>
28
25
 
29
 
#include <drizzled/visibility.h>
30
 
 
31
26
namespace drizzled
32
27
{
33
28
class TableShare;
40
35
 
41
36
table::Cache &get_open_cache();
42
37
 
43
 
DRIZZLED_API void kill_drizzle(void);
 
38
void kill_drizzle(void);
44
39
 
45
40
/* sql_base.cc */
46
41
void set_item_name(Item *item,char *pos,uint32_t length);
58
53
                               Item *default_value, Item *on_update_value,
59
54
                               LEX_STRING *comment, char *change,
60
55
                               List<String> *interval_list, CHARSET_INFO *cs);
 
56
void store_position_for_column(const char *name);
61
57
bool push_new_name_resolution_context(Session *session,
62
58
                                      TableList *left_op,
63
59
                                      TableList *right_op);
101
97
                          enum_resolution_type *resolution);
102
98
bool insert_fields(Session *session, Name_resolution_context *context,
103
99
                   const char *db_name, const char *table_name,
104
 
                   List<Item>::iterator *it, bool any_privileges);
 
100
                   List_iterator<Item> *it, bool any_privileges);
105
101
bool setup_tables(Session *session, Name_resolution_context *context,
106
102
                  List<TableList> *from_clause, TableList *tables,
107
103
                  TableList **leaves, bool select_insert);
155
151
                            db_name, table_name);
156
152
}
157
153
 
158
 
bool drizzle_rm_tmp_tables();
159
 
 
160
154
} /* namespace drizzled */
161
155
 
162
156
#endif /* DRIZZLED_SQL_BASE_H */