~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Brian Aker
  • Date: 2010-10-19 08:17:10 UTC
  • mto: (1864.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1864.
  • Revision ID: brian@tangent.org-20101019081710-hw13j03145h13pdg
Merge in a bit more strictness around table type.

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>
24
25
 
25
26
namespace drizzled
26
27
{
32
33
uint32_t cached_open_tables(void);
33
34
uint32_t cached_table_definitions(void);
34
35
 
35
 
typedef boost::unordered_multimap< TableIdentifier::Key, Table *> TableOpenCache;
 
36
typedef boost::unordered_multimap< TableIdentifier::Key, table::Concurrent *> TableOpenCache;
36
37
typedef std::pair< TableOpenCache::const_iterator, TableOpenCache::const_iterator > TableOpenCacheRange;
37
38
 
38
39
TableOpenCache &get_open_cache();
39
 
void remove_table(Table *arg);
 
40
void remove_table(table::Concurrent *arg);
40
41
 
41
42
void kill_drizzle(void);
42
43