~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.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:
69
69
  return str ? str : "<nil>";
70
70
}
71
71
 
72
 
static void store_key_options(String *packet, Table *table, KEY *key_info);
 
72
static void store_key_options(String *packet, Table *table, KeyInfo *key_info);
73
73
 
74
74
 
75
75
int wild_case_compare(const CHARSET_INFO * const cs, const char *str, const char *wildstr)
367
367
  String def_value(def_value_buf, sizeof(def_value_buf), system_charset_info);
368
368
  Field **ptr,*field;
369
369
  uint32_t primary_key;
370
 
  KEY *key_info;
 
370
  KeyInfo *key_info;
371
371
  Table *table= table_list->table;
372
372
  Cursor *cursor= table->cursor;
373
373
  TableShare *share= table->s;
587
587
  return(0);
588
588
}
589
589
 
590
 
static void store_key_options(String *packet, Table *, KEY *key_info)
 
590
static void store_key_options(String *packet, Table *, KeyInfo *key_info)
591
591
{
592
592
  if (key_info->algorithm == HA_KEY_ALG_BTREE)
593
593
    packet->append(STRING_WITH_LEN(" USING BTREE"));