~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2009-08-17 21:04:20 UTC
  • mto: (1117.1.9 merge)
  • mto: This revision was merged to the branch mainline in revision 1118.
  • Revision ID: brian@gaz-20090817210420-y7ag18gmgcy2iqy5
Remove options which are just for internal optimizations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3083
3083
  drizzled::message::Table::TableOptions *table_options;
3084
3084
  table_options= table_proto->mutable_options();
3085
3085
 
3086
 
  if (! table_proto->options().has_min_rows()
3087
 
      && table->s->hasMinRows())
3088
 
    table_options->set_min_rows(table->s->getMinRows());
3089
 
 
3090
 
  if (! table_proto->options().has_max_rows()
3091
 
      && table->s->hasMaxRows())
3092
 
    table_options->set_max_rows(table->s->getMaxRows());
3093
 
 
3094
 
  if (!(table_proto->options().has_avg_row_length())
3095
 
      && table->s->getAverageRowLength())
3096
 
    table_options->set_avg_row_length(table->s->getAverageRowLength());
3097
 
 
3098
3086
  if (!(used_fields & HA_CREATE_USED_BLOCK_SIZE))
3099
3087
    create_info->block_size= table->s->block_size;
3100
3088
  if (!(used_fields & HA_CREATE_USED_DEFAULT_CHARSET))