fix null value commit coredump

This commit is contained in:
Hongze Cheng 2020-07-14 13:43:50 +08:00
parent 2e2286e2cd
commit 5f04e54d3d
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ static int tsdbWriteBlockToFile(SRWHelper *pHelper, SFile *pFile, SDataCols *pDa
nColsNotAllNull++; nColsNotAllNull++;
} }
ASSERT(nColsNotAllNull > 0 && nColsNotAllNull <= pDataCols->numOfCols); ASSERT(nColsNotAllNull >= 0 && nColsNotAllNull <= pDataCols->numOfCols);
// Compress the data if neccessary // Compress the data if neccessary
int tcol = 0; int tcol = 0;