summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-28 02:04:07 +0300
committerunknown <monty@mysql.com>2004-05-28 02:04:07 +0300
commitce8e70fafb5a0f82dc27962d53775f0c4a060f43 (patch)
tree57520d313686fb3d1f49b42e3164b95ea6835082 /innobase/os
parent76a25669a4e6f0a4f047735456308ce2cdbb8f75 (diff)
parent3b36f93e57cd2f4512998364ce65e0d265d722d6 (diff)
downloadmariadb-git-ce8e70fafb5a0f82dc27962d53775f0c4a060f43.tar.gz
merge with 4.0 to get fix for hpux
configure.in: Auto merged innobase/os/os0file.c: Auto merged mysql-test/t/variables.test: Auto merged mysql-test/r/variables.result: merge fix
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c
index 5f5060c7464..a27da6d870e 100644
--- a/innobase/os/os0file.c
+++ b/innobase/os/os0file.c
@@ -1740,7 +1740,7 @@ os_file_pread(
os_n_file_reads++;
-#ifdef HAVE_PREAD
+#if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD)
os_mutex_enter(os_file_count_mutex);
os_file_n_pending_preads++;
os_mutex_exit(os_file_count_mutex);
@@ -1815,7 +1815,7 @@ os_file_pwrite(
os_n_file_writes++;
-#ifdef HAVE_PWRITE
+#if defined(HAVE_PWRITE) && !defined(HAVE_BROKEN_PREAD)
os_mutex_enter(os_file_count_mutex);
os_file_n_pending_pwrites++;
os_mutex_exit(os_file_count_mutex);