~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/session_dictionary/dictionary.cc

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
static ProcesslistTool *processlist;
27
27
 
28
 
static int init(drizzled::plugin::Registry &registry)
 
28
static int init(drizzled::module::Context &context)
29
29
{
30
30
  processlist= new(std::nothrow)ProcesslistTool;
31
 
  registry.add(processlist);
 
31
  context.add(processlist);
32
32
  
33
33
  return 0;
34
34
}
35
35
 
36
 
static int finalize(drizzled::plugin::Registry &registry)
37
 
{
38
 
  registry.remove(processlist);
39
 
  delete processlist;
40
 
 
41
 
  return 0;
42
 
}
43
 
 
44
36
DRIZZLE_DECLARE_PLUGIN
45
37
{
46
38
  DRIZZLE_VERSION_ID,
50
42
  "Dictionary for session information, aka proccesslist, etc.",
51
43
  PLUGIN_LICENSE_GPL,
52
44
  init,
53
 
  finalize,
54
45
  NULL,
55
46
  NULL
56
47
}