fix crash at ci

This commit is contained in:
xiao-77 2024-09-20 17:36:34 +08:00
parent 8c9b7e9a15
commit 7db555c788
1 changed files with 1 additions and 3 deletions

View File

@ -1998,10 +1998,8 @@ int32_t tsdbCacheDel(STsdb *pTsdb, tb_uid_t suid, tb_uid_t uid, TSKEY sKey, TSKE
.cacheStatus = TSDB_LAST_CACHE_NO_CACHE};
code = tsdbCachePutToLRU(pTsdb, &lastKey, &noneCol);
}
code = taosLRUCacheRelease(pTsdb->lruCache, h, false);
if (code != TSDB_CODE_SUCCESS) {
if (taosLRUCacheRelease(pTsdb->lruCache, h, false) != TSDB_CODE_SUCCESS) {
tsdbError("vgId:%d, %s release lru cache failed at line %d.", TD_VID(pTsdb->pVnode), __func__, __LINE__);
goto _exit;
}
TAOS_CHECK_EXIT(code);
} else {