~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_create.c

  • Committer: Monty
  • Date: 2008-10-02 05:41:33 UTC
  • mfrom: (398.1.10 codestyle)
  • Revision ID: mordred@scylla.inaugust.com-20081002054133-tyxv5bmqpazfaqqi
Merged up to 408 of stdint-includes-fix.

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;