~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_open.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:
247
247
           &share->state.key_root,keys*sizeof(uint64_t),
248
248
           &share->state.key_del,
249
249
           (share->state.header.max_block_size_index*sizeof(uint64_t)),
250
 
           &share->mmap_lock,sizeof(pthread_rwlock_t),
251
250
           NULL))
252
251
      goto err;
253
252
    errpos=4;
389
388
    mi_setup_functions(share);
390
389
    share->is_log_table= false;
391
390
    thr_lock_init(&share->lock);
392
 
    pthread_rwlock_init(&share->mmap_lock, NULL);
393
391
    if (myisam_concurrent_insert)
394
392
    {
395
393
      share->concurrent_insert=