Commit d15e92dc authored by brian@zim.(none)'s avatar brian@zim.(none)

Merge zim.(none):/home/brian/mysql/mysql-4.1

into  zim.(none):/home/brian/mysql/mysql-5.0
parents d261e1f5 8a5c2453
...@@ -651,7 +651,8 @@ int ha_tina::rnd_init(bool scan) ...@@ -651,7 +651,8 @@ int ha_tina::rnd_init(bool scan)
records= 0; records= 0;
chain_ptr= chain; chain_ptr= chain;
#ifdef HAVE_MADVISE #ifdef HAVE_MADVISE
(void)madvise(share->mapped_file,share->file_stat.st_size,MADV_SEQUENTIAL); if (scan)
(void)madvise(share->mapped_file,share->file_stat.st_size,MADV_SEQUENTIAL);
#endif #endif
DBUG_RETURN(0); 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