~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Brian Aker
  • Date: 2010-12-07 09:12:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1985.
  • Revision ID: brian@tangent.org-20101207091212-1m0w20tck6z7632m
This is a fix for bug lp:686197

Show diffs side-by-side

added added

removed removed

Lines of Context:
520
520
                                        bool low_byte_first)
521
521
{
522
522
  uint32_t const length= get_length(from, low_byte_first);
523
 
  getTable()->setWriteSet(position());
 
523
  getTable()->setWriteSet(field_index);
524
524
  store(reinterpret_cast<const char*>(from) + sizeof(uint32_t),
525
525
        length, field_charset);
526
526
  return(from + sizeof(uint32_t) + length);