diff options
author | Michael Widenius <monty@mysql.com> | 2010-08-10 19:06:34 +0300 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2010-08-10 19:06:34 +0300 |
commit | 0f75abc459beee1ebbb66de124d2a88ecc0d75a2 (patch) | |
tree | adeae590cb8459df45d700f0dee7ea272b25dedf /mysys/my_sync.c | |
parent | 8312aa9ba9387869038203200c9fb1490e3a4512 (diff) | |
download | mariadb-git-0f75abc459beee1ebbb66de124d2a88ecc0d75a2.tar.gz |
Fixed typo that caused compile failure on Mac
Added straight_join to make results predicatable
mysql-test/suite/pbxt/r/range.result:
Added straight_join to make results predicatable
mysql-test/suite/pbxt/t/range.test:
Added straight_join to make results predicatable
mysys/my_sync.c:
Fixed typo
Diffstat (limited to 'mysys/my_sync.c')
-rw-r--r-- | mysys/my_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_sync.c b/mysys/my_sync.c index cb0f5794b2e..a2b615a8661 100644 --- a/mysys/my_sync.c +++ b/mysys/my_sync.c @@ -68,7 +68,7 @@ int my_sync(File fd, myf my_flags) res= fdatasync(fd); #elif defined(HAVE_FSYNC) res= fsync(fd); - if (res == -1 and errno == ENOLCK) + if (res == -1 && errno == ENOLCK) res= 0; /* Result Bug in Old FreeBSD */ #elif defined(__WIN__) res= _commit(fd); |