~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Monty Taylor
  • Date: 2008-08-22 04:10:49 UTC
  • mto: (365.1.2 drizzle)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: monty@inaugust.com-20080822041049-9tv3fjdqbgzzr3ua
More ~0 removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4666
4666
 
4667
4667
uint Table::find_shortest_key(const key_map *usable_keys)
4668
4668
{
4669
 
  uint min_length= (uint) ~0;
4670
 
  uint best= MAX_KEY;
 
4669
  uint16_t min_length= UINT16_MAX;
 
4670
  uint16_t best= MAX_KEY;
4671
4671
  if (!usable_keys->is_clear_all())
4672
4672
  {
4673
4673
    for (uint nr=0; nr < s->keys ; nr++)