Commit c454678b authored by joerg@mysql.com's avatar joerg@mysql.com

Essential compile fix for all Solaris (manual transfer from 5.0, as the merge...

Essential compile fix for all Solaris (manual transfer from 5.0, as the merge is still outstanding).
parent c070251a
......@@ -651,7 +651,9 @@ int ha_tina::rnd_init(bool scan)
current_position= next_position= 0;
records= 0;
chain_ptr= chain;
#ifdef MADV_SEQUENTIAL
(void)madvise(share->mapped_file,share->file_stat.st_size,MADV_SEQUENTIAL);
#endif
DBUG_RETURN(0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment