~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Brian Aker
  • Date: 2010-07-28 00:15:41 UTC
  • Revision ID: brian@gaz-20100728001541-p6rs038hko6xqakn
This patch turns the table_cache into boost::unordered_multimap.
This also removes a number of cases where we were using strcmp() on table
name/schema name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
bool table_cache_init(void);
32
32
uint32_t cached_open_tables(void);
33
33
uint32_t cached_table_definitions(void);
34
 
HASH &get_open_cache();
 
34
 
 
35
typedef boost::unordered_multimap< TableIdentifier::Key, Table *> TableOpenCache;
 
36
typedef std::pair< TableOpenCache::const_iterator, TableOpenCache::const_iterator > TableOpenCacheRange;
 
37
 
 
38
TableOpenCache &get_open_cache();
 
39
void remove_table(Table *arg);
35
40
 
36
41
void kill_drizzle(void);
37
42