~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-10-02 19:49:54 UTC
  • mto: (1823.1.1 trunk-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1824.
  • Revision ID: osullivan.padraig@gmail.com-20101002194954-2sqp7a6szfgdl11l
Removal of all MyBitmap from the code base. Compiles but test failures exist now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2319
2319
{
2320
2320
  if (session->mark_used_columns != MARK_COLUMNS_NONE)
2321
2321
  {
2322
 
    MyBitmap *current_bitmap;
 
2322
    boost::dynamic_bitset<> *current_bitmap= NULL;
2323
2323
 
2324
2324
    /*
2325
2325
      We always want to register the used keys, as the column bitmap may have
2338
2338
      current_bitmap= table->write_set;
2339
2339
    }
2340
2340
 
2341
 
    if (current_bitmap->testAndSet(field->field_index))
 
2341
    //if (current_bitmap->testAndSet(field->field_index))
 
2342
    if (current_bitmap->test(field->field_index))
2342
2343
    {
2343
2344
      if (session->mark_used_columns == MARK_COLUMNS_WRITE)
2344
2345
        session->dup_field= field;