reverting a mistaken change

This commit is contained in:
Steven Li 2020-07-06 03:34:03 +00:00
parent 5c2b0097a7
commit a74e3bff4d
1 changed files with 0 additions and 1 deletions

View File

@ -196,7 +196,6 @@ void walFsync(void *handle) {
if (pWal == NULL) return;
if (pWal->level == TAOS_WAL_FSYNC && pWal->fd >=0) {
printf("WAL-SYNC executed\n");
if (fsync(pWal->fd) < 0) {
wError("wal:%s, fsync failed(%s)", pWal->name, strerror(errno));
}