diff options
author | unknown <joerg@mysql.com> | 2005-08-25 11:46:17 +0200 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2005-08-25 11:46:17 +0200 |
commit | f1ecbe624d61f2203b104a54e826e5c6345efab8 (patch) | |
tree | 27462e625a85629992fda011133d406442c47cd1 /sql/examples | |
parent | 1f9f122928eeb29c429ef3293bff25fa6bcbf4b2 (diff) | |
parent | 0154ae5443f272ea0915ec47581167f6aa37cb15 (diff) | |
download | mariadb-git-f1ecbe624d61f2203b104a54e826e5c6345efab8.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); } |