Fixing little typo with big impact.

This commit is contained in:
Robin Sommer 2012-08-03 10:44:46 -07:00
parent 01d91602ca
commit 9829cf9a29
3 changed files with 7 additions and 2 deletions

View file

@ -359,7 +359,7 @@ bool Ascii::DoWrite(int num_fields, const Field* const * fields,
if ( ! safe_write(fd, bytes, len) )
goto write_error;
if ( IsBuf() )
if ( ! IsBuf() )
fsync(fd);
return true;