remove the assert to pass CI

This commit is contained in:
Cary Xu 2022-04-01 17:58:09 +08:00
parent e2e1d4c899
commit ad68236481
1 changed files with 1 additions and 3 deletions

View File

@ -369,13 +369,11 @@ static void *mndBuildVCreateStbReq(SMnode *pMnode, SVgObj *pVgroup, SStbObj *pSt
int bSmaStat = 0; // no column has bsma
if (pStb->numOfSmas == pStb->numOfColumns) { // assume pColumns > 0
bSmaStat = 1; // all columns have bsma
TASSERT(pStb->pSmas == NULL); // TODO: remove the assert
} else if (pStb->numOfSmas != 0) {
bSmaStat = 2; // partial columns have bsma
TASSERT(pStb->pSmas != NULL); // TODO: remove the assert
} else {
TASSERT(pStb->pSmas == NULL); // TODO: remove the assert
}
for (int32_t i = 0; i < req.stbCfg.nCols; ++i) {
SSchemaEx *pSchemaEx = req.stbCfg.pSchema + i;
SSchema *pSchema = pStb->pColumns + i;