reverting a mistaken change
This commit is contained in:
parent
5c2b0097a7
commit
a74e3bff4d
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue