~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

edit

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
22
22
 
23
23
#include <drizzled/table/instance/shared.h>
24
24
#include <drizzled/definition/cache.h>
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),
40
 
  event_observers(NULL)
 
39
  TableShare(type_arg, identifier, path_arg, path_length_arg)
41
40
{
42
41
}
43
42
 
44
43
Shared::Shared(const identifier::Table &identifier) :
45
 
  TableShare(identifier, identifier.getKey()),
46
 
  event_observers(NULL)
 
44
  TableShare(identifier, identifier.getKey())
47
45
{
48
46
}
49
47
 
126
124
Shared::~Shared()
127
125
{
128
126
  assert(getTableCount() == 0);
129
 
  plugin::EventObserver::deregisterTableEvents(*this);
130
127
}
131
128
 
132
129