~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_client.cc

  • Committer: Brian Aker
  • Date: 2009-02-20 22:48:37 UTC
  • Revision ID: brian@tangent.org-20090220224837-fw5wrf46n4ru3e6a
First pass of stripping uint

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
  This files defines some MySQL C API functions that are server specific
18
18
*/
19
19
#include <drizzled/server_includes.h>
 
20
#include <drizzled/session.h>
 
21
 
 
22
extern struct system_variables global_system_variables;
20
23
 
21
24
/*
22
 
  Function called by my_net_init() to set some check variables
 
25
  Function called by drizzleclient_net_init() to set some check variables
23
26
*/
24
27
 
25
28
extern "C" {
26
 
void my_net_local_init(NET *net)
 
29
void drizzleclient_net_local_init(NET *net)
27
30
{
28
31
  net->max_packet=   (uint) global_system_variables.net_buffer_length;
29
32
 
30
 
  my_net_set_read_timeout(net, (uint)global_system_variables.net_read_timeout);
31
 
  my_net_set_write_timeout(net,
 
33
  drizzleclient_net_set_read_timeout(net, (uint)global_system_variables.net_read_timeout);
 
34
  drizzleclient_net_set_write_timeout(net,
32
35
                           (uint)global_system_variables.net_write_timeout);
33
36
 
34
37
  net->retry_count=  (uint) global_system_variables.net_retry_count;