~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ 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
 
  NULL,             /* status variables */
870
 
  sys_variables,    /* system variables */
871
 
  NULL              /* config options */
872
 
}
873
 
DRIZZLE_DECLARE_PLUGIN_END;
 
863
} /* namespace drizzle_protocol */
 
864
 
 
865
DRIZZLE_PLUGIN(drizzle_protocol::init, drizzle_protocol::deinit, drizzle_protocol::sys_variables);