Fixed compilation for machines without sync_file_range()

This commit is contained in:
Sears Russell 2007-11-11 23:33:23 +00:00
parent 87a70f29bc
commit 863586135e

View file

@ -182,9 +182,9 @@ static void pfForceRangePageFile(lsn_t start, lsn_t stop) {
assert(!ret);
#else
#ifdef HAVE_FDATASYNC
fdatasync(fd);
fdatasync(stable);
#else
fsync(fd);
fsync(stable);
#endif
#endif
}