~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/rabbitmq/rabbitmq_handler.h

  • Committer: Jay Pipes
  • Date: 2010-04-07 01:08:35 UTC
  • mto: (1405.6.8 replication-pairs)
  • mto: This revision was merged to the branch mainline in revision 1450.
  • Revision ID: jpipes@serialcoder-20100407010835-7sb56ju43sxrm5ov
Two little problems were preventing the plugin from being loaded:

#include <exception> needed to be placed in the handler source
file to properly refer to std::exception.

Had two variables declared extern in rabbitmq_log.cc but those
variables were not defined elsewhere.  Simple fix...change extern
to static to have the variables defined in that file locally.

Adds a test suite for the rabbitmq module with a simple test case
for variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#ifndef PLUGIN_RABBITMQ_RABBITMQ_HANDLER_H
26
26
#define PLUGIN_RABBITMQ_RABBITMQ_HANDLER_H
 
27
 
 
28
#include <exception>
27
29
#include <string>
28
30
#include <amqp.h>
29
31
#include <amqp_framing.h>