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

« back to all changes in this revision

Viewing changes to plugin/zeromq/zeromq_log.cc

  • Committer: Package Import Robot
  • Author(s): Tobias Frost
  • Date: 2012-04-04 15:12:07 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120404151207-xwsgn1xegslle4p0
Tags: 1:7.1.32-rc-1
* New upstream release.
* Plugin-filtered-replicator upstream removed and will no longer be built.
* Updating d/*install files to accommodate upstream changes from drizzle7
  to drizzle
* Added symlink in libdrizzledmessage-dev to library
* libdrizzle: soname-bump
* Rename package drizzle-plugin-performance-dictionary to shorten package name
  (due to linitan warning package-has-long-file-name)
* Debian/control: removed unused substitution variable ${shlibs:Depends} for
  -dbg and -dev packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
static int init(drizzled::module::Context &context)
132
132
{
133
133
  const module::option_map &vm= context.getOptions();
134
 
  zeromqLogger= new ZeroMQLog("zeromq_log_applier", vm["endpoint"].as<string>());
 
134
  zeromqLogger= new ZeroMQLog("zeromq_applier", vm["endpoint"].as<string>());
135
135
  context.add(zeromqLogger);
136
136
  ReplicationServices::attachApplier(zeromqLogger, vm["use-replicator"].as<string>());
137
137
  context.registerVariable(new sys_var_const_string_val("endpoint", vm["endpoint"].as<string>()));
152
152
 
153
153
} /* namespace drizzle_plugin */
154
154
 
155
 
DRIZZLE_PLUGIN(drizzle_plugin::init, NULL, drizzle_plugin::init_options);
 
155
DRIZZLE_DECLARE_PLUGIN
 
156
{
 
157
  DRIZZLE_VERSION_ID,
 
158
  "zeromq",
 
159
  "0.1",
 
160
  "Marcus Eriksson",
 
161
  N_("Publishes transactions to ZeroMQ"),
 
162
  PLUGIN_LICENSE_GPL,
 
163
  drizzle_plugin::init,
 
164
  NULL,
 
165
  drizzle_plugin::init_options,
 
166
}
 
167
DRIZZLE_DECLARE_PLUGIN_END;