~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2009-12-03 02:08:38 UTC
  • mto: (1237.3.3 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203020838-v2pen6n0prwo92i7
Clean up index interface before moving to SE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
846
846
  return store(buff, length, &my_charset_bin);
847
847
}
848
848
 
849
 
bool Field::optimize_range(uint32_t idx, uint32_t part)
 
849
bool Field::optimize_range(uint32_t idx, uint32_t)
850
850
{
851
 
  return test(table->cursor->index_flags(idx, part, 1) & HA_READ_RANGE);
 
851
  return test(table->cursor->index_flags(idx) & HA_READ_RANGE);
852
852
}
853
853
 
854
854
Field *Field::new_field(MEM_ROOT *root, Table *new_table, bool)