Commit 69b11a4e authored by unknown's avatar unknown

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).


sql/examples/ha_tina.cc:
  Manual transfer from 5.0, as the merge is still outstanding
  (it was: 2005-08-25 00:47:12+02:00, kent@mysql.com):
    Some lack madvice()
parent 15acf421
......@@ -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