~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

Added polymorphic add/remove methods around slot add/remove methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1457
1457
{
1458
1458
  int error;
1459
1459
  engine= new MyisamEngine(engine_name);
1460
 
  registry.storage_engine.add(engine);
 
1460
  registry.add(engine);
1461
1461
 
1462
1462
  pthread_mutex_init(&THR_LOCK_myisam,MY_MUTEX_INIT_FAST);
1463
1463
 
1476
1476
 
1477
1477
static int myisam_deinit(drizzled::plugin::Registry &registry)
1478
1478
{
1479
 
  registry.storage_engine.remove(engine);
 
1479
  registry.remove(engine);
1480
1480
  delete engine;
1481
1481
 
1482
1482
  pthread_mutex_destroy(&THR_LOCK_myisam);