~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Brian Aker
  • Date: 2010-10-28 17:12:01 UTC
  • mfrom: (1887.1.3 merge)
  • Revision ID: brian@tangent.org-20101028171201-baj6l1bnntn1s4ad
Merge in POTFILES changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
uint32_t cached_open_tables(void);
34
34
uint32_t cached_table_definitions(void);
35
35
 
36
 
typedef boost::unordered_multimap< TableIdentifier::Key, table::Concurrent *> TableOpenCache;
37
 
typedef std::pair< TableOpenCache::const_iterator, TableOpenCache::const_iterator > TableOpenCacheRange;
38
 
 
39
 
TableOpenCache &get_open_cache();
40
 
void remove_table(table::Concurrent *arg);
 
36
table::Cache &get_open_cache();
41
37
 
42
38
void kill_drizzle(void);
43
39
 
136
132
                               const char *table_name);
137
133
TableList *unique_table(TableList *table, TableList *table_list,
138
134
                        bool check_alias= false);
139
 
void remove_db_from_cache(const SchemaIdentifier &schema_identifier);
140
135
 
141
 
/* bits for last argument to remove_table_from_cache() */
 
136
/* bits for last argument to table::Cache::singleton().removeTable() */
142
137
#define RTFC_NO_FLAG                0x0000
143
138
#define RTFC_OWNED_BY_Session_FLAG      0x0001
144
139
#define RTFC_WAIT_OTHER_THREAD_FLAG 0x0002
145
140
#define RTFC_CHECK_KILLED_FLAG      0x0004
146
 
bool remove_table_from_cache(Session *session, TableIdentifier &identifier, uint32_t flags);
147
141
 
148
142
void mem_alloc_error(size_t size);
149
143