10 Aug
2010
10 Aug
'10
3:54 p.m.
Michael Widenius <michael.widenius@gmail.com> writes:
#At lp:maria based on revid:monty@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.