~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_close.c

  • Committer: Brian Aker
  • Date: 2008-12-05 19:17:37 UTC
  • Revision ID: brian@tangent.org-20081205191737-pp8u84pdz6dcp182
Part removal of my_pthread.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    {
90
90
      int i,keys;
91
91
      keys = share->state.header.keys;
92
 
      rwlock_destroy(&share->mmap_lock);
 
92
      pthread_rwlock_destroy(&share->mmap_lock);
93
93
      for(i=0; i<keys; i++) {
94
 
        rwlock_destroy(&share->key_root_lock[i]);
 
94
        pthread_rwlock_destroy(&share->key_root_lock[i]);
95
95
      }
96
96
    }
97
97
    free((unsigned char*) info->s);