~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/opt_sum.cc

  • Committer: Brian Aker
  • Date: 2009-12-05 01:48:28 UTC
  • mfrom: (1237.2.12 push)
  • Revision ID: brian@gaz-20091205014828-xd4e29ujttx2xe2j
MergeĀ forĀ staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
826
826
         part != part_end ;
827
827
         part++, jdx++, key_part_to_use= (key_part_to_use << 1) | 1)
828
828
    {
829
 
      if (!(table->cursor->index_flags(idx, jdx, 0) & HA_READ_ORDER))
 
829
      if (! (table->index_flags(idx) & HA_READ_ORDER))
830
830
        return 0;
831
831
 
832
832
      /* Check whether the index component is partial */