~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.cc

  • Committer: Brian Aker
  • Date: 2009-12-03 02:08:38 UTC
  • mto: (1237.3.3 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203020838-v2pen6n0prwo92i7
Clean up index interface before moving to SE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3468
3468
            Set tmp to (previous record count) * (records / combination)
3469
3469
          */
3470
3470
          if ((found_part & 1) &&
3471
 
              (!(table->cursor->index_flags(key, 0, 0) & HA_ONLY_WHOLE_INDEX) ||
3472
 
               found_part == PREV_BITS(uint,keyinfo->key_parts)))
 
3471
              (!(table->cursor->index_flags(key) & HA_ONLY_WHOLE_INDEX) ||
 
3472
               found_part == PREV_BITS(uint, keyinfo->key_parts)))
3473
3473
          {
3474
3474
            max_key_part= max_part_bit(found_part);
3475
3475
            /*