Michael Widenius <michael.widen...@gmail.com> writes: > #At lp:maria based on revid:mo...@mysql.com-20100809170542-ewa2awm6pcoi1ipy > > 2897 Michael Widenius 2010-08-09 > Ignore ENOLCK errno from FreeBSD (known problem in old FreeBSD releases) > modified: > mysys/my_sync.c > > === modified file 'mysys/my_sync.c' > --- a/mysys/my_sync.c 2010-08-09 17:05:42 +0000 > +++ b/mysys/my_sync.c 2010-08-09 17:54:58 +0000 > @@ -68,6 +68,8 @@ int my_sync(File fd, myf my_flags) > res= fdatasync(fd); > #elif defined(HAVE_FSYNC) > res= fsync(fd); > + if (res == -1 and errno == ENOLCK) ^^^
Ehm, the operator is called `&&' in C ;-) (causes build to break for macosx in Buildbot). - Kristian. _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp