~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/placeholder.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:
31
31
 
32
32
class Placeholder : public table::Concurrent
33
33
{
34
 
  TableShare private_share;
 
34
  instance::Shared private_share;
35
35
 
36
36
public:
37
37
  Placeholder(Session *session, TableIdentifier &identifier) :
38
38
    table::Concurrent(),
39
 
    private_share(identifier, identifier.getKey())
 
39
    private_share(identifier)
40
40
  {
41
41
    setShare(&private_share);
42
42
    in_use= session;
51
51
 
52
52
  void release(void)
53
53
  {
54
 
    TableShare::release(getMutableShare());
 
54
    table::instance::release(getMutableShare());
55
55
  }
56
56
};
57
57