~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_dynrec.c

Changes to get drizzle building on Solaris 10 (SPARC)

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    info->s->file_map= NULL;
95
95
    return(1);
96
96
  }
97
 
#if defined(HAVE_MADVISE)
 
97
/* per krow we should look at removing the following code */
 
98
#if defined(HAVE_MADVISE) && !defined(TARGET_OS_SOLARIS)
98
99
  madvise((char*) info->s->file_map, size, MADV_RANDOM);
99
100
#endif
100
101
  info->s->mmaped_length= size;