rebuild index at tag0
This commit is contained in:
parent
1447d1d55c
commit
ef7f762c62
|
@ -866,7 +866,7 @@ static int32_t mndCreateStb(SMnode *pMnode, SRpcMsg *pReq, SMCreateStbReq *pCrea
|
||||||
mInfo("trans:%d, used to create stb:%s", pTrans->id, pCreate->name);
|
mInfo("trans:%d, used to create stb:%s", pTrans->id, pCreate->name);
|
||||||
if (mndBuildStbFromReq(pMnode, &stbObj, pCreate, pDb) != 0) goto _OVER;
|
if (mndBuildStbFromReq(pMnode, &stbObj, pCreate, pDb) != 0) goto _OVER;
|
||||||
|
|
||||||
char randStr[16] = {0};
|
char randStr[24] = {0};
|
||||||
taosRandStr2(randStr, tListLen(randStr) - 1);
|
taosRandStr2(randStr, tListLen(randStr) - 1);
|
||||||
SSchema *pSchema = &(stbObj.pTags[0]);
|
SSchema *pSchema = &(stbObj.pTags[0]);
|
||||||
sprintf(fullIdxName, "%s.%s_%s", pDb->name, pSchema->name, randStr);
|
sprintf(fullIdxName, "%s.%s_%s", pDb->name, pSchema->name, randStr);
|
||||||
|
|
Loading…
Reference in New Issue