~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-02-04 10:18:35 UTC
  • mfrom: (2143.1.4 drizzle-build)
  • Revision ID: brian@tangent.org-20110204101835-j23pv0febg9p0a2p
Merge of all local trees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
Shared::Shared(const identifier::Table::Type type_arg,
37
37
               const identifier::Table &identifier,
38
38
               char *path_arg, uint32_t path_length_arg) :
39
 
  TableShare(type_arg, identifier, path_arg, path_length_arg)
 
39
  TableShare(type_arg, identifier, path_arg, path_length_arg),
 
40
  event_observers(NULL)
40
41
{
41
42
}
42
43
 
43
44
Shared::Shared(const identifier::Table &identifier) :
44
 
  TableShare(identifier, identifier.getKey())
 
45
  TableShare(identifier, identifier.getKey()),
 
46
  event_observers(NULL)
45
47
{
46
48
}
47
49
 
124
126
Shared::~Shared()
125
127
{
126
128
  assert(getTableCount() == 0);
 
129
  plugin::EventObserver::deregisterTableEvents(*this);
127
130
}
128
131
 
129
132