~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/ha_tina.cc

Split StorageEngine into slot. This completes the plugin-slot-reorg. Woot.
Next step - getting slot registration to inject a plugin reference into a
registry so that we can make I_S.PLUGINS stop being broken.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
{
144
144
 
145
145
  tina_engine= new Tina(engine_name);
146
 
  registry.add(tina_engine);
 
146
  registry.storage_engine.add(tina_engine);
147
147
 
148
148
  pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST);
149
149
  (void) hash_init(&tina_open_tables,system_charset_info,32,0,0,
153
153
 
154
154
static int tina_done_func(drizzled::plugin::Registry &registry)
155
155
{
156
 
  registry.remove(tina_engine);
 
156
  registry.storage_engine.remove(tina_engine);
157
157
  delete tina_engine;
158
158
 
159
159
  hash_free(&tina_open_tables);