refact: auto create table for tsma result

This commit is contained in:
kailixu 2022-12-03 21:09:38 +08:00
parent 6dbea9e55d
commit 79c047c5d0
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ int32_t tqBlockToSubmit(SVnode* pVnode, const SArray* pBlocks, const STSchema* p
if (createTb) {
pTbData->pCreateTbReq = taosArrayGetP(createTbArray, i);
if (pTbData->pCreateTbReq) pTbData->flags = SUBMIT_REQ_AUTO_CREATE_TABLE;
}
if (!pVals && !(pVals = taosArrayInit(pTSchema->numOfCols, sizeof(SColVal)))) {