~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/plugin.cc

  • Committer: Monty Taylor
  • Date: 2010-03-06 02:08:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100306020813-c37d0b39004nl1zf
Remove plugin deinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
  return false;
43
43
}
44
44
 
45
 
/*
46
 
  Release the archive Cursor.
47
 
 
48
 
  SYNOPSIS
49
 
    archive_db_done()
50
 
    void
51
 
 
52
 
  RETURN
53
 
    false       OK
54
 
*/
55
 
 
56
 
extern pthread_mutex_t archive_mutex;
57
 
 
58
 
static int done(drizzled::plugin::Context &context)
59
 
{
60
 
  context.remove(archive_engine);
61
 
  delete archive_engine;
62
 
 
63
 
  pthread_mutex_destroy(&archive_mutex);
64
 
 
65
 
  return 0;
66
 
}
67
 
 
68
45
 
69
46
static DRIZZLE_SYSVAR_BOOL(aio, archive_use_aio,
70
47
  PLUGIN_VAR_NOCMDOPT,
85
62
  "Archive storage engine",
86
63
  PLUGIN_LICENSE_GPL,
87
64
  init, /* Plugin Init */
88
 
  done, /* Plugin Deinit */
89
65
  archive_system_variables,   /* system variables                */
90
66
  NULL                        /* config options                  */
91
67
}