~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_locking.cc

Removed many, many checks for functions that do not need to be checked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
      {
82
82
        if (share->changed && !share->w_locks)
83
83
        {
84
 
#ifdef HAVE_MMAP
85
84
    if ((info->s->mmaped_length != info->s->state.state.data_file_length) &&
86
85
        (info->s->nonmmaped_inserts > MAX_NONMAPPED_INSERTS))
87
86
    {
92
91
      if (info->s->concurrent_insert)
93
92
        pthread_rwlock_unlock(&info->s->mmap_lock);
94
93
    }
95
 
#endif
96
94
          share->state.process= share->last_process=share->this_process;
97
95
          share->state.unique=   info->last_unique=  info->this_unique;
98
96
          share->state.update_count= info->last_loop= ++info->this_loop;