~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.cc

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
      Must clear this as we do a memcmp in opt_range.cc to detect
510
510
      identical keys
511
511
    */
512
 
    bzero(buff+HA_KEY_BLOB_LENGTH+f_length, (length-f_length));
 
512
    memset(buff+HA_KEY_BLOB_LENGTH+f_length, 0, (length-f_length));
513
513
  }
514
514
  return HA_KEY_BLOB_LENGTH+f_length;
515
515
}