~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/opt_sum.cc

  • Committer: Monty Taylor
  • Date: 2009-05-09 22:13:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1009.
  • Revision ID: mordred@inaugust.com-20090509221347-l712szviusbobro0
Re-added bitset<> as a replacement for Bitmap<>

Show diffs side-by-side

added added

removed removed

Lines of Context:
818
818
      Perform a check if index is not disabled by ALTER Table
819
819
      or IGNORE INDEX.
820
820
    */
821
 
    if (!table->keys_in_use_for_query.is_set(idx))
 
821
    if (!table->keys_in_use_for_query.test(idx))
822
822
      continue;
823
823
    uint32_t jdx= 0;
824
824
    *prefix_len= 0;
874
874
            The following test is false when the key in the key tree is
875
875
            converted (for example to upper case)
876
876
          */
877
 
          if (field->part_of_key.is_set(idx))
 
877
          if (field->part_of_key.test(idx))
878
878
          {
879
879
            table->key_read= 1;
880
880
            table->file->extra(HA_EXTRA_KEYREAD);