diff options
author | joerg@mysql.com <> | 2005-08-25 11:46:17 +0200 |
---|---|---|
committer | joerg@mysql.com <> | 2005-08-25 11:46:17 +0200 |
commit | fea0745ba8fa673ad821acb5832e85b9516242ed (patch) | |
tree | 27462e625a85629992fda011133d406442c47cd1 /sql/examples | |
parent | c8bfd8c2d2c97c8a58d6fdedba1bea9eb1e89003 (diff) | |
parent | bd2901a250de7ac577020477bfe558364b498792 (diff) | |
download | mariadb-git-fea0745ba8fa673ad821acb5832e85b9516242ed.tar.gz |
Merge mysql.com:/M50/clone-5.0 into mysql.com:/M50/push-5.0
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 1e2751f3016..26cd3d2a07e 100644 --- a/sql/examples/ha_tina.cc +++ b/sql/examples/ha_tina.cc @@ -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); } |