~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.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:
1407
1407
  void close_cached_table(Table *table);
1408
1408
 
1409
1409
  /* Create a lock in the cache */
1410
 
  Table *table_cache_insert_placeholder(const char *db_name, const char *table_name, const char *key, uint32_t key_length);
 
1410
  Table *table_cache_insert_placeholder(const char *db_name, const char *table_name);
1411
1411
  bool lock_table_name_if_not_cached(TableIdentifier &identifier, Table **table);
1412
 
  bool lock_table_name_if_not_cached(const char *db,
1413
 
                                     const char *table_name, Table **table);
1414
1412
 
1415
1413
  typedef unordered_map<std::string, message::Table> TableMessageCache;
1416
1414
  TableMessageCache table_message_cache;