~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/explain_plan.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:
254
254
      /* Build "key", "key_len", and "ref" values and add them to item_list */
255
255
      if (tab->ref.key_parts)
256
256
      {
257
 
        KEY *key_info= table->key_info+ tab->ref.key;
 
257
        KeyInfo *key_info= table->key_info+ tab->ref.key;
258
258
        item_list.push_back(new Item_string(key_info->name,
259
259
                                            strlen(key_info->name),
260
260
                                            system_charset_info));
275
275
      }
276
276
      else if (tab->type == AM_NEXT)
277
277
      {
278
 
        KEY *key_info=table->key_info+ tab->index;
 
278
        KeyInfo *key_info=table->key_info+ tab->index;
279
279
        item_list.push_back(new Item_string(key_info->name,
280
280
              strlen(key_info->name),cs));
281
281
        uint32_t length= internal::int64_t2str(key_info->key_length, keylen_str_buf, 10) -