~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.c

Merged from Andrey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
793
793
static int get_options(int *argc, char ***argv)
794
794
{
795
795
  int ho_error;
796
 
  DRIZZLE_PARAMETERS *drizzle_params= drizzle_get_parameters();
 
796
  const DRIZZLE_PARAMETERS *drizzle_params= drizzle_get_parameters();
797
797
 
798
798
  opt_max_allowed_packet= *drizzle_params->p_max_allowed_packet;
799
799
  opt_net_buffer_length= *drizzle_params->p_net_buffer_length;
1523
1523
    {
1524
1524
      /* Make an sql-file, if path was given iow. option -T was given */
1525
1525
      char buff[20+FN_REFLEN];
1526
 
      DRIZZLE_FIELD *field;
 
1526
      const DRIZZLE_FIELD *field;
1527
1527
 
1528
1528
      snprintf(buff, sizeof(buff), "show create table %s", result_table);
1529
1529