~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/ha_myisam.cc

  • Committer: Monty Taylor
  • Date: 2009-04-10 22:18:10 UTC
  • mto: (992.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: mordred@inaugust.com-20090410221810-06j7dfgl1iso0dab
Did the finalizers. Renamed plugin_registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1809
1809
 
1810
1810
static MyisamEngine *engine= NULL;
1811
1811
 
1812
 
static int myisam_init(Plugin_registry &registry)
 
1812
static int myisam_init(PluginRegistry &registry)
1813
1813
{
1814
1814
  engine= new MyisamEngine(engine_name);
1815
 
  registry.registerPlugin(engine);
 
1815
  registry.add(engine);
1816
1816
 
1817
1817
  pthread_mutex_init(&THR_LOCK_myisam,MY_MUTEX_INIT_FAST);
1818
1818
 
1819
1819
  return 0;
1820
1820
}
1821
1821
 
1822
 
int myisam_deinit(void *)
 
1822
int myisam_deinit(PluginRegistry &registry)
1823
1823
{
1824
 
 
 
1824
  registry.remove(engine);
1825
1825
  delete engine;
1826
1826
 
1827
1827
  pthread_mutex_destroy(&THR_LOCK_myisam);