Commit 681a4a3a authored by unknown's avatar unknown
Browse files

ha_tina.cc:

  Some lack madvice()


sql/examples/ha_tina.cc:
  Some lack madvice()
parent 9017addf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -650,7 +650,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);
}