~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Brian Aker
  • Date: 2009-04-13 16:22:40 UTC
  • mfrom: (971.1.78 mordred)
  • Revision ID: brian@gaz-20090413162240-ugi3gvhofmcuglzl
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
605
605
  uint32_t const master_packlength=
606
606
    param_data > 0 ? param_data & 0xFF : packlength;
607
607
  uint32_t const length= get_length(from, master_packlength, low_byte_first);
608
 
  bitmap_set_bit(table->write_set, field_index);
 
608
  table->write_set->set(field_index);
609
609
  store(reinterpret_cast<const char*>(from) + master_packlength,
610
610
        length, field_charset);
611
611
  return(from + master_packlength + length);
677
677
 
678
678
bool Field_blob::in_read_set()
679
679
{
680
 
  return bitmap_is_set(table->read_set, field_index);
 
680
  return (table->read_set->test(field_index));
681
681
}
682
682
 
683
683
 
684
684
bool Field_blob::in_write_set()
685
685
{
686
 
  return bitmap_is_set(table->write_set, field_index);
 
686
  return (table->write_set->test(field_index));
687
687
}