~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_locking.c

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        (info->s->nonmmaped_inserts > MAX_NONMAPPED_INSERTS))
85
85
    {
86
86
      if (info->s->concurrent_insert)
87
 
        rw_wrlock(&info->s->mmap_lock);
 
87
        pthread_rwlock_wrlock(&info->s->mmap_lock);
88
88
      mi_remap_file(info, info->s->state.state.data_file_length);
89
89
      info->s->nonmmaped_inserts= 0;
90
90
      if (info->s->concurrent_insert)
91
 
        rw_unlock(&info->s->mmap_lock);
 
91
        pthread_rwlock_unlock(&info->s->mmap_lock);
92
92
    }
93
93
#endif
94
94
          share->state.process= share->last_process=share->this_process;