~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/placeholder.h

  • Committer: Brian Aker
  • Date: 2010-12-26 22:31:33 UTC
  • mto: This revision was merged to the branch mainline in revision 2036.
  • Revision ID: brian@tangent.org-20101226223133-6470gt27jtgm9k7z
FurtherĀ encapsulationĀ forĀ DECIMAL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
class Placeholder : public table::Concurrent
33
33
{
34
 
  instance::Shared private_share;
 
34
  TableShare private_share;
35
35
 
36
36
public:
37
 
  Placeholder(Session *session, identifier::Table &identifier) :
 
37
  Placeholder(Session *session, TableIdentifier &identifier) :
38
38
    table::Concurrent(),
39
 
    private_share(identifier)
 
39
    private_share(identifier, identifier.getKey())
40
40
  {
41
41
    setShare(&private_share);
42
42
    in_use= session;
51
51
 
52
52
  void release(void)
53
53
  {
54
 
    table::instance::release(getMutableShare());
 
54
    TableShare::release(getMutableShare());
55
55
  }
56
56
};
57
57