~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_hash.cc

  • Committer: Mark Atwood
  • Date: 2011-06-24 02:13:02 UTC
  • mfrom: (2318.6.56 rf)
  • Revision ID: me@mark.atwood.name-20110624021302-y9oiksid220xan9s
mergeĀ lp:~olafvdspek/drizzle/refactor14

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
    unsigned char *key= (unsigned char*) hash_key(info, record, &idx, 1);
263
263
    if (hash_search(info, key, idx))
264
264
      /* Duplicate entry */
265
 
      return(true);
 
265
      return true;
266
266
  }
267
267
 
268
268
  flag=0;
269
269
  if (!(empty=(HASH_LINK*) alloc_dynamic(&info->array)))
270
270
    /* No more memory */
271
 
    return(true);
 
271
    return true;
272
272
 
273
273
  data=dynamic_element(&info->array,0,HASH_LINK*);
274
274
  halfbuff= info->blength >> 1;