opt: opt tag index

This commit is contained in:
yihaoDeng 2023-02-14 17:44:29 +08:00
parent df296c15f7
commit fa8bebf24d
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ int32_t mndBuildStbFromReq(SMnode *pMnode, SStbObj *pDst, SMCreateStbReq *pCreat
pSchema->type = pField->type; pSchema->type = pField->type;
pSchema->bytes = pField->bytes; pSchema->bytes = pField->bytes;
if (i == 0) { if (i == 0) {
SSCHMEA_SET_IDX_ON(pSchema) SSCHMEA_SET_IDX_ON(pSchema);
} }
memcpy(pSchema->name, pField->name, TSDB_COL_NAME_LEN); memcpy(pSchema->name, pField->name, TSDB_COL_NAME_LEN);
pSchema->colId = pDst->nextColId; pSchema->colId = pDst->nextColId;