~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/cache.h

  • Committer: Brian Aker
  • Date: 2011-01-13 07:03:39 UTC
  • mfrom: (2077.1.3 drizzle)
  • Revision ID: brian@gir-3-20110113070339-bnfp4yvngb6frhru
Merge in all of the fixes for definition to instance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define DRIZZLED_TABLE_CACHE_H
24
24
 
25
25
#include <boost/unordered_map.hpp>
 
26
#include <drizzled/identifier.h>
 
27
#include <drizzled/table/instance.h>
26
28
 
27
29
namespace drizzled {
 
30
 
 
31
class Session;
 
32
 
28
33
namespace table {
29
34
 
 
35
namespace instance {
 
36
class Shared;
 
37
 
38
 
30
39
class Concurrent;
31
40
 
32
41
typedef boost::unordered_multimap< TableIdentifier::Key, Concurrent *> CacheMap;
57
66
  bool areTablesUsed(Table *table, bool wait_for_name_lock);
58
67
  void removeSchema(const SchemaIdentifier &schema_identifier);
59
68
  bool removeTable(Session *session, TableIdentifier &identifier, uint32_t flags);
60
 
  void release(TableShare *share);
 
69
  void release(table::instance::Shared *share);
61
70
  bool insert(table::Concurrent *arg);
62
71
 
63
72
  boost::mutex &mutex()