~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/hash.c

Merged in Jay's tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
  {
319
319
    uchar *key= (uchar*) hash_key(info, record, &idx, 1);
320
320
    if (hash_search(info, key, idx))
321
 
      return(TRUE);                             /* Duplicate entry */
 
321
      return(true);                             /* Duplicate entry */
322
322
  }
323
323
 
324
324
  flag=0;
325
325
  if (!(empty=(HASH_LINK*) alloc_dynamic(&info->array)))
326
 
    return(TRUE);                               /* No more memory */
 
326
    return(true);                               /* No more memory */
327
327
 
328
328
  data=dynamic_element(&info->array,0,HASH_LINK*);
329
329
  halfbuff= info->blength >> 1;