~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-07-30 02:39:13 UTC
  • mto: (1115.3.11 captain)
  • mto: This revision was merged to the branch mainline in revision 1121.
  • Revision ID: osullivan.padraig@gmail.com-20090730023913-o2zuocp32l6btnc2
Removing references to MY_BITMAP throughout the code base and updating calls
to MyBitmap in various places to use the new interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
    FALSE  Otherwise
398
398
*/
399
399
 
400
 
bool is_key_used(Table *table, uint32_t idx, const MY_BITMAP *fields)
 
400
bool is_key_used(Table *table, uint32_t idx, const MyBitmap *fields)
401
401
{
402
 
  bitmap_clear_all(&table->tmp_set);
 
402
  table->tmp_set.clearAll();
403
403
  table->mark_columns_used_by_index_no_reset(idx, &table->tmp_set);
404
404
  if (bitmap_is_overlapping(&table->tmp_set, fields))
405
405
    return 1;