Commit 69b11a4e authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
}