~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.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:
542
542
 
543
543
  for (uint32_t key= 0; key < table_arg.sizeKeys(); key++)
544
544
  {
545
 
    KEY *pos= table_arg.key_info+key;
 
545
    KeyInfo *pos= table_arg.key_info+key;
546
546
    KeyPartInfo *key_part=     pos->key_part;
547
547
    KeyPartInfo *key_part_end= key_part + pos->key_parts;
548
548
 
712
712
 
713
713
  if (table->next_number_field && record == table->record[0])
714
714
  {
715
 
    KEY *mkey= &table->s->key_info[0]; // We only support one key right now
 
715
    KeyInfo *mkey= &table->s->key_info[0]; // We only support one key right now
716
716
    update_auto_increment();
717
717
    temp_auto= table->next_number_field->val_int();
718
718
 
773
773
{
774
774
  int rc;
775
775
  bool found= 0;
776
 
  KEY *mkey= &table->s->key_info[0];
 
776
  KeyInfo *mkey= &table->s->key_info[0];
777
777
  current_k_offset= mkey->key_part->offset;
778
778
  current_key= key;
779
779
  current_key_len= key_len;