~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2010-06-29 13:41:05 UTC
  • mto: (1643.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1644.
  • Revision ID: barry.leslie@primebase.com-20100629134105-6bb2u2r6620k64n2
Fixed warnings reported from solaris builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define DRIZZLED_SQL_BASE_H
22
22
 
23
23
#include <drizzled/table.h>
24
 
#include <drizzled/table/concurrent.h>
25
24
 
26
25
namespace drizzled
27
26
{
32
31
bool table_cache_init(void);
33
32
uint32_t cached_open_tables(void);
34
33
uint32_t cached_table_definitions(void);
35
 
 
36
 
table::Cache &get_open_cache();
 
34
HASH *get_open_cache();
37
35
 
38
36
void kill_drizzle(void);
39
37
 
132
130
                               const char *table_name);
133
131
TableList *unique_table(TableList *table, TableList *table_list,
134
132
                        bool check_alias= false);
 
133
void remove_db_from_cache(SchemaIdentifier &schema_identifier);
135
134
 
136
 
/* bits for last argument to table::Cache::singleton().removeTable() */
 
135
/* bits for last argument to remove_table_from_cache() */
137
136
#define RTFC_NO_FLAG                0x0000
138
137
#define RTFC_OWNED_BY_Session_FLAG      0x0001
139
138
#define RTFC_WAIT_OTHER_THREAD_FLAG 0x0002
140
139
#define RTFC_CHECK_KILLED_FLAG      0x0004
 
140
bool remove_table_from_cache(Session *session, TableIdentifier &identifier, uint32_t flags);
141
141
 
142
142
void mem_alloc_error(size_t size);
143
143