~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/placeholder.h

  • Committer: Brian Aker
  • Date: 2010-12-23 22:20:46 UTC
  • mto: (2026.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2027.
  • Revision ID: brian@tangent.org-20101223222046-152kydsd1cyexfme
Update to tests, we just want to look at our own tables, not global.

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