~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_client.cc

  • Committer: Monty Taylor
  • Date: 2009-02-05 21:07:57 UTC
  • mto: This revision was merged to the branch mainline in revision 840.
  • Revision ID: mordred@inaugust.com-20090205210757-6487lf69y3mndcds
Fixed warnings badness in csv_alter_table test.

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
25
  Function called by my_net_init() to set some check variables
32
35
                           (uint)global_system_variables.net_write_timeout);
33
36
 
34
37
  net->retry_count=  (uint) global_system_variables.net_retry_count;
35
 
  net->max_packet_size= max(global_system_variables.net_buffer_length,
 
38
  net->max_packet_size= cmax(global_system_variables.net_buffer_length,
36
39
                            global_system_variables.max_allowed_packet);
37
40
}
38
41
}