~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_gearman/logging_gearman.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
  return dst;
170
170
}
171
171
 
172
 
class LoggingGearman : public drizzled::plugin::Logging
 
172
class LoggingGearman : public plugin::Logging
173
173
{
174
174
 
175
175
  int gearman_client_ok;
178
178
public:
179
179
 
180
180
  LoggingGearman()
181
 
    : drizzled::plugin::Logging("LoggingGearman"),
 
181
    : plugin::Logging("LoggingGearman"),
182
182
      gearman_client_ok(0)
183
183
  {
184
184
    gearman_return_t ret;
290
290
 
291
291
static LoggingGearman *handler= NULL;
292
292
 
293
 
static int logging_gearman_plugin_init(drizzled::plugin::Registry &registry)
 
293
static int logging_gearman_plugin_init(plugin::Registry &registry)
294
294
{
295
295
  handler= new LoggingGearman();
296
296
  registry.add(handler);
298
298
  return 0;
299
299
}
300
300
 
301
 
static int logging_gearman_plugin_deinit(drizzled::plugin::Registry &registry)
 
301
static int logging_gearman_plugin_deinit(plugin::Registry &registry)
302
302
{
303
303
  registry.remove(handler);
304
304
  delete handler;