fix(tsdb): add empty del skyline check.

This commit is contained in:
Haojun Liao 2023-07-05 17:43:41 +08:00
parent f35db3ba6c
commit a738b6eba6
1 changed files with 1 additions and 1 deletions

View File

@ -1911,7 +1911,7 @@ static bool doCheckforDatablockOverlap(STableBlockScanInfo* pBlockScanInfo, cons
}
static bool overlapWithDelSkyline(STableBlockScanInfo* pBlockScanInfo, const SBrinRecord* pRecord, int32_t order) {
if (pBlockScanInfo->delSkyline == NULL) {
if (pBlockScanInfo->delSkyline == NULL || (taosArrayGetSize(pBlockScanInfo->delSkyline) == 0)) {
return false;
}