fix(query): fix interp pResBlock->rows > capacity cause assert failure
This commit is contained in:
parent
92d42fab11
commit
fb2bb0481e
|
@ -2154,9 +2154,7 @@ static void doKeepLinearInfo(STimeSliceOperatorInfo* pSliceInfo, const SSDataBlo
|
|||
|
||||
static void genInterpolationResult(STimeSliceOperatorInfo* pSliceInfo, SExprSupp* pExprSup, SSDataBlock* pResBlock) {
|
||||
int32_t rows = pResBlock->info.rows;
|
||||
if (rows >= pResBlock->info.capacity) {
|
||||
return;
|
||||
}
|
||||
blockDataEnsureCapacity(pResBlock, rows + 1);
|
||||
// todo set the correct primary timestamp column
|
||||
|
||||
// output the result
|
||||
|
|
Loading…
Reference in New Issue