summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-06-24 19:51:20 +0300
committerunknown <heikki@donna.mysql.fi>2001-06-24 19:51:20 +0300
commit5b6c96202b5300d92b49ec644113061b5f67d7c1 (patch)
tree9702eab7cad20638a3cfd22f738755fda4d57c82 /innobase/os
parentecb14493f23019c7b59b78e2eaeb3ad168aaca77 (diff)
downloadmariadb-git-5b6c96202b5300d92b49ec644113061b5f67d7c1.tar.gz
sync0sync.c Do not use in-line assembly in GCC
srv0start.c Eliminate a deadlock of threads at startup row0mysql.c Several bug fixes row0umod.c Several bug fixes row0upd.c Several bug fixes os0file.c Revert back to fsync as default flush method log0recv.c Several bug fixes ibuf0ibuf.c Several bug fixes fsp0fsp.c Several bug fixes trx0undo.c Put some assertions to uncover possible bugs dict0boot.c Several bug fixes innobase/dict/dict0boot.c: Several bug fixes innobase/trx/trx0undo.c: Put some assertions to uncover possible bugs innobase/fsp/fsp0fsp.c: Several bug fixes innobase/ibuf/ibuf0ibuf.c: Several bug fixes innobase/log/log0recv.c: Several bug fixes innobase/os/os0file.c: Revert back to fsync as default flush method innobase/row/row0mysql.c: Several bug fixes innobase/row/row0umod.c: Several bug fixes innobase/row/row0upd.c: Several bug fixes innobase/srv/srv0start.c: Eliminate a deadlock of threads at startup innobase/sync/sync0sync.c: Do not use in-line assembly in GCC
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c
index fa0c266a82a..668d74d75b5 100644
--- a/innobase/os/os0file.c
+++ b/innobase/os/os0file.c
@@ -11,6 +11,7 @@ Created 10/21/1995 Heikki Tuuri
#include "ut0mem.h"
#include "srv0srv.h"
+#undef HAVE_FDATASYNC
#ifdef POSIX_ASYNC_IO
/* We assume in this case that the OS has standard Posix aio (at least SunOS
@@ -562,6 +563,11 @@ os_file_flush(
return(TRUE);
}
+ fprintf(stderr,
+ "InnoDB: Error: the OS said file flush did not succeed\n");
+
+ os_file_handle_error(file, NULL);
+
return(FALSE);
#endif
}