~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Brian Aker
  • Date: 2009-12-06 01:55:53 UTC
  • mfrom: (1238.1.5 push)
  • Revision ID: brian@gaz-20091206015553-cva833q4gvwj11ob
Bundle for staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
410
410
  if ((uint32_t) length > blob_length)
411
411
  {
412
412
    /*
413
 
      Must clear this as we do a memcmp in opt_range.cc to detect
 
413
      Must clear this as we do a memcmp in optimizer/range.cc to detect
414
414
      identical keys
415
415
    */
416
416
    memset(buff+HA_KEY_BLOB_LENGTH+blob_length, 0, (length-blob_length));
441
441
  if (length > blob_length)
442
442
  {
443
443
    /*
444
 
      Must clear this as we do a memcmp in opt_range.cc to detect
 
444
      Must clear this as we do a memcmp in optimizer/range.cc to detect
445
445
      identical keys
446
446
    */
447
447