~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/libdrizzle.cc

  • Committer: Monty Taylor
  • Date: 2009-04-02 06:59:10 UTC
  • mto: (992.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 978.
  • Revision ID: mordred@inaugust.com-20090402065910-bw2qyzv16sg10r1o
Removed unused variables that would conflict with libmysqlclient variables. (Thanks Richard Smith)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
#include <string.h>
57
57
#include <mystrings/utf8.h>
58
58
 
59
 
uint32_t net_buffer_length= 8192;
60
 
uint32_t max_allowed_packet= 1024L*1024L*1024L;
61
 
 
62
59
unsigned int drizzle_port=0;
63
60
 
64
61
#include <errno.h>
65
62
 
66
 
 
67
 
static DRIZZLE_PARAMETERS drizzle_internal_parameters=
68
 
{&max_allowed_packet, &net_buffer_length, 0};
69
 
 
70
 
const DRIZZLE_PARAMETERS * drizzleclient_get_parameters(void)
71
 
{
72
 
  return &drizzle_internal_parameters;
73
 
}
74
 
 
75
63
unsigned int drizzleclient_get_default_port(void)
76
64
{
77
65
  return drizzle_port;