~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2009-05-03 22:35:33 UTC
  • mfrom: (997.2.26 mordred)
  • Revision ID: brian@gaz-20090503223533-lv7lwqelv08dnv2j
Merge of Monty's code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1182
1182
  if (tmp->table->maybe_null)
1183
1183
    tmp->flags&= ~NOT_NULL_FLAG;
1184
1184
  tmp->table= new_table;
1185
 
  tmp->key_start.init(0);
1186
 
  tmp->part_of_key.init(0);
1187
 
  tmp->part_of_sortkey.init(0);
 
1185
  tmp->key_start.reset();
 
1186
  tmp->part_of_key.reset();
 
1187
  tmp->part_of_sortkey.reset();
1188
1188
  tmp->unireg_check= Field::NONE;
1189
1189
  tmp->flags&= (NOT_NULL_FLAG | BLOB_FLAG | UNSIGNED_FLAG | BINARY_FLAG | ENUM_FLAG | SET_FLAG);
1190
1190
  tmp->reset_fields();