~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_client.cc

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/*
17
17
  This files defines some MySQL C API functions that are server specific
18
18
*/
19
 
 
20
 
#include "mysql_priv.h"
 
19
#include <drizzled/server_includes.h>
21
20
 
22
21
/*
23
22
  Function called by my_net_init() to set some check variables
33
32
                           (uint)global_system_variables.net_write_timeout);
34
33
 
35
34
  net->retry_count=  (uint) global_system_variables.net_retry_count;
36
 
  net->max_packet_size= max(global_system_variables.net_buffer_length,
 
35
  net->max_packet_size= cmax(global_system_variables.net_buffer_length,
37
36
                            global_system_variables.max_allowed_packet);
38
37
}
39
38
}