~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_index_merge_select.cc

  • Committer: Brian Aker
  • Date: 2010-06-15 13:37:26 UTC
  • Revision ID: brian@gaz-20100615133726-160z0ql8gxi8s3rg
This is a rollup set of patches for modifications to TableIdentifier to have
a getKey() which is now used for open_cache and table_share_def cache. This
also includes additional unittests on TableIdentifier, and makes use of some
cleanup, though not perfect, to TableShare for its contructors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    processed separately.
70
70
  */
71
71
  if (head->cursor->primary_key_is_clustered() &&
72
 
      quick_sel_range->index == head->getShare()->primary_key)
 
72
      quick_sel_range->index == head->getShare()->getPrimaryKey())
73
73
  {
74
74
    pk_quick_select= quick_sel_range;
75
75
  }