~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/shared.h

  • Committer: Brian Aker
  • Date: 2011-01-17 23:44:48 UTC
  • mfrom: (2088.1.5 drizzle-build)
  • Revision ID: brian@tangent.org-20110117234448-0tt6rd6fxa3csdaf
Rollup of all changes for identifier/error

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
{
29
29
 
30
30
class TableShare;
31
 
class TableIdentifier;
32
31
class Session;
33
32
 
 
33
namespace identifier { class Table; }
 
34
 
34
35
namespace table
35
36
{
36
37
 
39
40
 
40
41
void release(TableShare *share);
41
42
void release(TableShare::shared_ptr &share);
42
 
void release(const TableIdentifier &identifier);
 
43
void release(const identifier::Table &identifier);
43
44
 
44
45
 
45
46
class Shared : public drizzled::TableShare
54
55
  typedef boost::shared_ptr<Shared> shared_ptr;
55
56
  typedef std::vector <shared_ptr> vector;
56
57
 
57
 
  Shared(const TableIdentifier::Type type_arg,
58
 
         const TableIdentifier &identifier,
 
58
  Shared(const identifier::Table::Type type_arg,
 
59
         const identifier::Table &identifier,
59
60
         char *path_arg= NULL, uint32_t path_length_arg= 0); // Shares for cache
60
61
 
61
 
  Shared(const TableIdentifier &identifier); // Used by placeholder
 
62
  Shared(const identifier::Table &identifier); // Used by placeholder
62
63
 
63
64
  ~Shared();
64
65
 
75
76
 
76
77
 
77
78
  static shared_ptr make_shared(Session *session, 
78
 
                                const TableIdentifier &identifier,
 
79
                                const identifier::Table &identifier,
79
80
                                int &in_error);
80
81
 
81
82
  static shared_ptr foundTableShare(shared_ptr share);