opt: opt tag index
This commit is contained in:
parent
df296c15f7
commit
fa8bebf24d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue