~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/completion_hash.c

  • 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:
205
205
void completion_hash_clean(HashTable *ht)
206
206
{
207
207
  free_root(&ht->mem_root,MYF(0));
208
 
  bzero((char*) ht->arBuckets,ht->nTableSize*sizeof(Bucket *));
 
208
  memset((char*) ht->arBuckets, 0, ht->nTableSize*sizeof(Bucket *));
209
209
}
210
210
 
211
211