~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_close.cc

  • Committer: Brian Aker
  • Date: 2010-08-11 17:06:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1702.
  • Revision ID: brian@gaz-20100811170622-mu43l3tjk0kvmffw
Remove additional lock around mmap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
      free((unsigned char*) share->decode_tables);
88
88
    }
89
89
    share->lock.deinit();
90
 
    {
91
 
      int keys= share->state.header.keys;
92
 
      pthread_rwlock_destroy(&share->mmap_lock);
93
 
      for (int i= 0; i < keys; i++)
94
 
      {
95
 
      }
96
 
    }
97
90
    delete info->s->in_use;
98
91
    free((unsigned char*) info->s);
99
92
  }