~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-04-08 21:34:26 UTC
  • mto: (971.1.63 mordred)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: osullivan.padraig@gmail.com-20090408213426-6go9x5ytddqcnz3j
Fixing up the storage engines based on the changes I made to the Table
class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
600
600
    return(HA_ERR_END_OF_FILE);
601
601
 
602
602
  /* We must read all columns in case a table is opened for update */
603
 
  read_all= !bitmap_is_clear_all(table->write_set);
 
603
  read_all= !table->write_set->none();
604
604
  error= HA_ERR_CRASHED_ON_USAGE;
605
605
 
606
606
  memset(buf, 0, table->s->null_bytes);
670
670
      }
671
671
    }
672
672
 
673
 
    if (read_all || bitmap_is_set(table->read_set, (*field)->field_index))
 
673
    if (read_all || table->read_set->test((*field)->field_index))
674
674
    {
675
675
      if ((*field)->store(buffer.ptr(), buffer.length(), buffer.charset(),
676
676
                          CHECK_FIELD_WARN))