TD-1887
This commit is contained in:
parent
7017fc365e
commit
cf15f65363
|
@ -80,6 +80,7 @@ int32_t walWrite(void *handle, SWalHead *pHead) {
|
|||
int32_t code = 0;
|
||||
|
||||
// no wal
|
||||
if (pWal->fd <= 0) return 0;
|
||||
if (pWal->level == TAOS_WAL_NOLOG) return 0;
|
||||
if (pHead->version <= pWal->version) return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue