~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:20:59 UTC
  • mfrom: (2148 staging)
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207172059-dyeahrgzrlincoe3
Merge with trunk

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