List:Commits« Previous MessageNext Message »
From:antony Date:December 22 2007 4:24pm
Subject:bk commit into 6.0 tree (antony:1.2772)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of antony. When antony does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-22 08:24:33-08:00, antony@stripped +1 -0
  Older MacOS may not declare O_SYNC

  storage/falcon/IO.cpp@stripped, 2007-12-22 08:24:30-08:00, antony@stripped +4 -1
    Older MacOS may not declare O_SYNC

diff -Nrup a/storage/falcon/IO.cpp b/storage/falcon/IO.cpp
--- a/storage/falcon/IO.cpp	2007-12-20 13:41:34 -08:00
+++ b/storage/falcon/IO.cpp	2007-12-22 08:24:30 -08:00
@@ -33,7 +33,6 @@
 #define LSEEK				_lseeki64
 #define SEEK_OFFSET	int64
 #define MKDIR(dir)			mkdir(dir)
-#define O_SYNC				0
 #define PATH_MAX			_MAX_PATH
 #else
 #include <sys/types.h>
@@ -56,6 +55,10 @@
 #define O_BINARY		0
 #define O_RANDOM		0
 #define MKDIR(dir)			mkdir(dir, S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IWGRP | S_IXUSR | S_IXGRP)
+#endif
+
+#ifndef O_SYNC
+#define O_SYNC		0
 #endif
 
 #ifndef LSEEK
Thread
bk commit into 6.0 tree (antony:1.2772)antony22 Dec