From: Date: October 21 2008 2:45pm Subject: bzr commit into mysql-5.1 branch (jonas:2703) Bug#34638 List-Archive: http://lists.mysql.com/commits/56683 X-Bug: 34638 Message-Id: <20081021124540.F362191B1B4@perch.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/jonas/src/telco-6.2/ 2703 Jonas Oreland 2008-10-21 ndb - bug#34638 - O_SYNC incorrectly got disabled if os didnt have O_DIRECT (solaris) modified: storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp === modified file 'storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp' --- a/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp 2008-10-21 12:33:13 +0000 +++ b/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp 2008-10-21 12:45:36 +0000 @@ -420,8 +420,8 @@ void AsyncFile::openReq(Request* request new_flags |= O_APPEND; } - if (flags & FsOpenReq::OM_DIRECT) #ifdef O_DIRECT + if (flags & FsOpenReq::OM_DIRECT) { new_flags |= O_DIRECT; }