~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Monty Taylor
  • Date: 2010-03-05 21:10:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100305211020-rr54vcmh709q5nu5
Use the plugin::Context everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1498
1498
 
1499
1499
static MyisamEngine *engine= NULL;
1500
1500
 
1501
 
static int myisam_init(plugin::Registry &registry)
 
1501
static int myisam_init(plugin::Context &context)
1502
1502
{
1503
1503
  int error;
1504
1504
  engine= new MyisamEngine(engine_name);
1505
 
  registry.add(engine);
 
1505
  context.add(engine);
1506
1506
 
1507
1507
  pthread_mutex_init(&THR_LOCK_myisam,MY_MUTEX_INIT_FAST);
1508
1508
 
1519
1519
  return 0;
1520
1520
}
1521
1521
 
1522
 
static int myisam_deinit(plugin::Registry &registry)
 
1522
static int myisam_deinit(plugin::Context &context)
1523
1523
{
1524
 
  registry.remove(engine);
 
1524
  context.remove(engine);
1525
1525
  delete engine;
1526
1526
 
1527
1527
  pthread_mutex_destroy(&THR_LOCK_myisam);