~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Joe Daly
  • Date: 2010-06-03 03:33:55 UTC
  • mfrom: (1579 staging)
  • mto: This revision was merged to the branch mainline in revision 1614.
  • Revision ID: skinny.moey@gmail.com-20100603033355-m2j7qox2l8se4uq4
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  /* works only with key prefixes */
102
102
  assert(((keypart_map_arg + 1) & keypart_map_arg) == 0);
103
103
 
104
 
  KeyInfo *key_info_found= table->getShare()->key_info + key_position;
105
 
  KeyPartInfo *key_part_found= key_info_found->key_part;
106
 
  KeyPartInfo *end_key_part_found= key_part_found + key_info_found->key_parts;
 
104
  const KeyPartInfo *key_part_found= table->getShare()->getKeyInfo(key_position).key_part;
 
105
  const KeyPartInfo *end_key_part_found= key_part_found + table->getShare()->getKeyInfo(key_position).key_parts;
107
106
  uint32_t length= 0;
108
107
 
109
108
  while (key_part_found < end_key_part_found && keypart_map_arg)