~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Brian Aker
  • Date: 2010-01-14 21:28:45 UTC
  • mfrom: (1259.7.6 pandora-build)
  • Revision ID: brian@gaz-20100114212845-189op3q67k2b80rh
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/gettext.h>
23
23
#include <drizzled/session.h>
24
24
#include PCRE_HEADER
 
25
#include <limits.h>
 
26
#include <sys/time.h>
 
27
#include <sys/types.h>
 
28
#include <sys/stat.h>
 
29
#include <fcntl.h>
 
30
 
 
31
 
 
32
using namespace drizzled;
25
33
 
26
34
/* TODO make this dynamic as needed */
27
35
static const int MAX_MSG_LEN= 32*1024;
38
46
   until the Session has a good utime "now" we can use
39
47
   will have to use this instead */
40
48
 
41
 
#include <sys/time.h>
42
49
static uint64_t get_microtime()
43
50
{
44
51
#if defined(HAVE_GETHRTIME)