diff options
author | unknown <jimw@mysql.com> | 2005-08-31 18:34:16 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-31 18:34:16 -0700 |
commit | 1b6fdf86f93c63b10841d16da5fd403302c259da (patch) | |
tree | 80e1955f8266db9ec4aff1ea0e0b35fbf3d036ab /sql/examples | |
parent | 53effe94aa0efe28c503220ea26cd42a7b4294e0 (diff) | |
parent | b34af8cde47ec0168b5878988b791cbc69dc65b4 (diff) | |
download | mariadb-git-1b6fdf86f93c63b10841d16da5fd403302c259da.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-7156
into mysql.com:/home/jimw/my/mysql-4.1-clean
Diffstat (limited to 'sql/examples')
-rw-r--r-- | sql/examples/ha_tina.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/examples/ha_tina.cc b/sql/examples/ha_tina.cc index 07e69bfac80..bbcdfb0dafb 100644 --- a/sql/examples/ha_tina.cc +++ b/sql/examples/ha_tina.cc @@ -608,7 +608,9 @@ int ha_tina::rnd_init(bool scan) current_position= next_position= 0; records= 0; chain_ptr= chain; +#ifdef HAVE_MADVISE (void)madvise(share->mapped_file,share->file_stat.st_size,MADV_SEQUENTIAL); +#endif DBUG_RETURN(0); } |