~jaypipes/drizzle/xa-transaction-log

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.cc

  • Committer: Jay Pipes
  • Date: 2010-03-11 00:18:09 UTC
  • mfrom: (1273.1.60 staging)
  • Revision ID: jpipes@serialcoder-20100311001809-bwqn45a6l4u1gtbk
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "pack.h"
31
31
#include "errmsg.h"
32
 
#include "oldlibdrizzle.h"
 
32
#include "drizzle_protocol.h"
33
33
#include "options.h"
34
34
 
35
35
#define PROTOCOL_VERSION 10
39
39
extern uint32_t global_thread_id;
40
40
}
41
41
 
 
42
using namespace drizzled;
42
43
using namespace std;
43
 
using namespace drizzled;
 
44
 
 
45
namespace drizzle_protocol
 
46
{
 
47
 
44
48
 
45
49
static const uint32_t DRIZZLE_TCP_PORT= 4427;
46
50
static const unsigned int PACKET_BUFFER_EXTRA_ALLOC= 1024;
856
860
  NULL
857
861
};
858
862
 
859
 
DRIZZLE_DECLARE_PLUGIN
860
 
{
861
 
  DRIZZLE_VERSION_ID,
862
 
  "drizzle_protocol",
863
 
  "0.1",
864
 
  "Eric Day",
865
 
  "Drizzle Protocol Module",
866
 
  PLUGIN_LICENSE_GPL,
867
 
  init,             /* Plugin Init */
868
 
  deinit,           /* Plugin Deinit */
869
 
  sys_variables,    /* system variables */
870
 
  NULL              /* config options */
871
 
}
872
 
DRIZZLE_DECLARE_PLUGIN_END;
 
863
} /* namespace drizzle_protocol */
 
864
 
 
865
DRIZZLE_PLUGIN(drizzle_protocol::init, drizzle_protocol::deinit, drizzle_protocol::sys_variables);