~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/net_serv.cc

Merged Eric from lp:~eday/drizzle/eday-merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
void drizzleclient_net_local_init(NET *net)
56
56
{
57
57
  net->max_packet= (uint32_t) global_system_variables.net_buffer_length;
58
 
 
59
 
  drizzleclient_net_set_read_timeout(net,
60
 
                          (uint32_t)global_system_variables.net_read_timeout);
61
 
  drizzleclient_net_set_write_timeout(net,
62
 
                         (uint32_t)global_system_variables.net_write_timeout);
63
 
 
64
 
  net->retry_count=  (uint32_t) global_system_variables.net_retry_count;
65
58
  net->max_packet_size= max(global_system_variables.net_buffer_length,
66
59
                             global_system_variables.max_allowed_packet);
67
60
}