~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2010-05-15 01:19:45 UTC
  • Revision ID: brian@gaz-20100515011945-uxhf94vi0tzm0vq6
Rename of KEY to KeyInfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
{
300
300
  for (uint32_t i= 0; i < table->s->keys; i++)
301
301
  {
302
 
    KEY *key=table->key_info+i;
 
302
    KeyInfo *key=table->key_info+i;
303
303
    if (!key->rec_per_key)
304
304
      continue;
305
305
    if (key->algorithm != HA_KEY_ALG_BTREE)
661
661
ha_rows ha_heap::records_in_range(uint32_t inx, key_range *min_key,
662
662
                                  key_range *max_key)
663
663
{
664
 
  KEY *key=table->key_info+inx;
 
664
  KeyInfo *key=table->key_info+inx;
665
665
  if (key->algorithm == HA_KEY_ALG_BTREE)
666
666
    return hp_rb_records_in_range(file, inx, min_key, max_key);
667
667
 
776
776
  seg= reinterpret_cast<HA_KEYSEG*> (keydef + keys);
777
777
  for (key= 0; key < keys; key++)
778
778
  {
779
 
    KEY *pos= table_arg->key_info+key;
 
779
    KeyInfo *pos= table_arg->key_info+key;
780
780
    KeyPartInfo *key_part=     pos->key_part;
781
781
    KeyPartInfo *key_part_end= key_part + pos->key_parts;
782
782