~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:23:29 UTC
  • mto: (365.1.2 drizzle)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: monty@inaugust.com-20080822042329-ldq50y12vcq8rxh8
Undid some stupid int->int16_t conversions.

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
 
  uint16_t min_length= UINT16_MAX;
4670
 
  uint16_t best= MAX_KEY;
 
4669
  uint32_t min_length= UINT32_MAX;
 
4670
  uint32_t best= MAX_KEY;
4671
4671
  if (!usable_keys->is_clear_all())
4672
4672
  {
4673
4673
    for (uint nr=0; nr < s->keys ; nr++)