Merge pull request #13249 from taosdata/szhou/feature/sma
fix: tsdb can mixed block even output capacity is greater than block rows
This commit is contained in:
commit
718b892328
|
@ -1395,7 +1395,7 @@ static int32_t handleDataMergeIfNeeded(STsdbReadHandle* pTsdbReadHandle, SBlock*
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pTsdbReadHandle->outputCapacity >= binfo.rows) {
|
if (pTsdbReadHandle->outputCapacity >= binfo.rows) {
|
||||||
ASSERT(cur->blockCompleted);
|
ASSERT(cur->blockCompleted || cur->mixBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cur->rows == binfo.rows) {
|
if (cur->rows == binfo.rows) {
|
||||||
|
|
Loading…
Reference in New Issue