~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_create.c

  • Committer: Monty Taylor
  • Date: 2008-09-23 14:19:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923141948-ktph2kg13addaxq1
Actually removed VOID() this time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
      goto err;
343
343
    }
344
344
    thr_lock_init(&share->lock);
345
 
    VOID(pthread_mutex_init(&share->intern_lock,MY_MUTEX_INIT_FAST));
 
345
    pthread_mutex_init(&share->intern_lock,MY_MUTEX_INIT_FAST);
346
346
    if (!create_info->internal_table)
347
347
    {
348
348
      share->open_list.data= (void*) share;
444
444
    heap_share_list= list_delete(heap_share_list, &share->open_list);
445
445
  hp_clear(share);                      /* Remove blocks from memory */
446
446
  thr_lock_delete(&share->lock);
447
 
  VOID(pthread_mutex_destroy(&share->intern_lock));
 
447
  pthread_mutex_destroy(&share->intern_lock);
448
448
  my_free((uchar*) share->name, MYF(0));
449
449
  my_free((uchar*) share, MYF(0));
450
450
  return;