~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_client.cc

  • Committer: Monty Taylor
  • Date: 2009-02-08 10:59:43 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mordred@inaugust.com-20090208105943-e30tagctq2nrghxi
Renamed my_net_* to drizzleclient_net_* to help with namespace issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
extern struct system_variables global_system_variables;
23
23
 
24
24
/*
25
 
  Function called by my_net_init() to set some check variables
 
25
  Function called by drizzleclient_net_init() to set some check variables
26
26
*/
27
27
 
28
28
extern "C" {
29
 
void my_net_local_init(NET *net)
 
29
void drizzleclient_net_local_init(NET *net)
30
30
{
31
31
  net->max_packet=   (uint) global_system_variables.net_buffer_length;
32
32
 
33
 
  my_net_set_read_timeout(net, (uint)global_system_variables.net_read_timeout);
34
 
  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,
35
35
                           (uint)global_system_variables.net_write_timeout);
36
36
 
37
37
  net->retry_count=  (uint) global_system_variables.net_retry_count;