This commit is contained in:
Shengliang Guan 2020-11-02 17:06:38 +08:00
parent 7017fc365e
commit cf15f65363
1 changed files with 1 additions and 0 deletions

View File

@ -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;