[TD-9] error while create child table

This commit is contained in:
slguan 2020-03-26 12:09:22 +08:00
parent 6e70d2371d
commit 021d4b4240
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ void mgmtGetSuperTableMeta(SQueuedMsg *pMsg, SSuperTableObj *pTable) {
pMeta->uid = htobe64(pTable->uid);
pMeta->sversion = htons(pTable->sversion);
pMeta->precision = pDb->cfg.precision;
pMeta->numOfTags = htons((int16_t)pTable->numOfTags);
pMeta->numOfTags = (uint8_t)pTable->numOfTags;
pMeta->numOfColumns = htons((int16_t)pTable->numOfColumns);
pMeta->tableType = pTable->info.type;
pMeta->contLen = sizeof(STableMetaMsg) + mgmtSetSchemaFromSuperTable(pMeta->schema, pTable);