refact: add more check for rsma

This commit is contained in:
kailixu 2022-12-08 15:06:18 +08:00
parent a2092892f7
commit 5dbbaa3b77
1 changed files with 3 additions and 0 deletions

View File

@ -2246,6 +2246,9 @@ int32_t buildSubmitReqFromDataBlock(SSubmitReq2** ppReq, const SSDataBlock* pDat
continue;
}
// the rsma result should has the same column number with schema.
ASSERT(colNum == pTSchema->numOfCols);
SSubmitTbData tbData = {0};
if (!(tbData.aRowP = taosArrayInit(rows, sizeof(SRow*)))) {