~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_extra.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:
143
143
      error=end_io_cache(&info->rec_cache);
144
144
      /* Sergei will insert full text index caching here */
145
145
    }
146
 
#if defined(HAVE_MMAP) && defined(HAVE_MADVISE) && !defined(TARGET_OS_SOLARIS)
 
146
#if !defined(TARGET_OS_SOLARIS)
147
147
    if (info->opt_flag & MEMMAP_USED)
148
148
      madvise((char*) share->file_map, share->state.state.data_file_length,
149
149
              MADV_RANDOM);
384
384
  }
385
385
  if (share->base.blobs)
386
386
    mi_alloc_rec_buff(info, -1, &info->rec_buff);
387
 
#if defined(HAVE_MMAP) && defined(HAVE_MADVISE) && !defined(TARGET_OS_SOLARIS)
 
387
#if !defined(TARGET_OS_SOLARIS)
388
388
  if (info->opt_flag & MEMMAP_USED)
389
389
    madvise((char*) share->file_map, share->state.state.data_file_length,
390
390
            MADV_RANDOM);