diff options
author | jimw@mysql.com <> | 2005-08-31 19:12:16 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-08-31 19:12:16 -0700 |
commit | d6db387aea880759b84e9c1f1b253e48e99a23b7 (patch) | |
tree | d1f472d71ff75d1aa210d6a6e3c0a0ade588ac60 /sql/examples | |
parent | 1d997477aa848779ea38526e18aaf824fd0ac3de (diff) | |
parent | c3f4ecb544ffb597bcf5b2aae7efccb5699fec48 (diff) | |
download | mariadb-git-d6db387aea880759b84e9c1f1b253e48e99a23b7.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
Diffstat (limited to 'sql/examples')
-rw-r--r-- | sql/examples/ha_tina.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_tina.cc b/sql/examples/ha_tina.cc index 26cd3d2a07e..74ff3457cd2 100644 --- a/sql/examples/ha_tina.cc +++ b/sql/examples/ha_tina.cc @@ -650,7 +650,7 @@ int ha_tina::rnd_init(bool scan) current_position= next_position= 0; records= 0; chain_ptr= chain; -#ifdef MADV_SEQUENTIAL +#ifdef HAVE_MADVISE (void)madvise(share->mapped_file,share->file_stat.st_size,MADV_SEQUENTIAL); #endif |