summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-31 19:12:16 -0700
committerjimw@mysql.com <>2005-08-31 19:12:16 -0700
commitd6db387aea880759b84e9c1f1b253e48e99a23b7 (patch)
treed1f472d71ff75d1aa210d6a6e3c0a0ade588ac60 /sql/examples
parent1d997477aa848779ea38526e18aaf824fd0ac3de (diff)
parentc3f4ecb544ffb597bcf5b2aae7efccb5699fec48 (diff)
downloadmariadb-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.cc2
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