~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
oom_error:
252
252
  /* Fatal OOM error */
253
253
  memset(ptr, 0, Field_blob::pack_length());
254
 
  return -1; 
 
254
  return -1;
255
255
}
256
256
 
257
257
 
333
333
int Field_blob::cmp(const unsigned char *a,uint32_t a_length, const unsigned char *b,
334
334
                    uint32_t b_length)
335
335
{
336
 
  return field_charset->coll->strnncollsp(field_charset, 
 
336
  return field_charset->coll->strnncollsp(field_charset,
337
337
                                          a, a_length, b, b_length,
338
338
                                          0);
339
339
}
542
542
/**
543
543
   Unpack a blob field from row data.
544
544
 
545
 
   This method is used to unpack a blob field from a master whose size of 
 
545
   This method is used to unpack a blob field from a master whose size of
546
546
   the field is less than that of the slave. Note: This method is included
547
547
   to satisfy inheritance rules, but is not needed for blob fields. It
548
548
   simply is used as a pass-through to the original unpack() method for