~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: rm
  • Date: 2009-07-26 03:10:33 UTC
  • mto: (1099.1.2 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1101.
  • Revision ID: rm@ralph.local-20090726031033-ajeunv3e198izefa
get things compiling on FreeBSD (7.1)
  - add PTHREAD_LIBS to the necessary execs
  - quell warning about NULL format string in die
  - check for log and log2 funcs, work-around for missing log2
  - add -D option to gperf to avoid warnings/errors about hash collisions
  - remove const from getopt wrappers to avoid errors about discarded qualifiers
  - fix bug in acx_pthread.m4, add pthread ld flags to PTHREAD_LIBS, not
    PTHREAD_CFLAGS
  - wrap #include <alloca.h> in HAVE_ALLOCA_H
  - add lots of UNIV_INTERN attributes to handler func decls
  - include missing header files (net-realted) in a couple places

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#include <iostream>
48
48
#include <vector>
49
49
#include <algorithm>
 
50
#ifdef HAVE_SYS_WAIT_H
 
51
#include <sys/wait.h>
 
52
#endif
50
53
 
51
54
#include PCRE_HEADER
52
55
 
4485
4488
  }
4486
4489
  if (!(*command_ptr= command=
4487
4490
        (struct st_command*) malloc(sizeof(*command))))
4488
 
    die(NULL);
 
4491
    die("command malloc failed");
4489
4492
  memset(command, 0, sizeof(*command));
4490
4493
  q_lines.push_back(command);
4491
4494
  command->type= Q_UNKNOWN;