Merge branch 'hotfix/crash' of https://github.com/taosdata/TDengine into hotfix/crash
This commit is contained in:
commit
f75bcded71
|
@ -1989,7 +1989,7 @@ static int32_t mnodeAutoCreateChildTable(SMnodeMsg *pMsg) {
|
||||||
pCreateMsg->getMeta = 1;
|
pCreateMsg->getMeta = 1;
|
||||||
pCreateMsg->contLen = htonl(contLen);
|
pCreateMsg->contLen = htonl(contLen);
|
||||||
|
|
||||||
memcpy(pCreateMsg->schema, pTags, contLen);
|
memcpy(pCreateMsg->schema, pTags, contLen - sizeof(SCMCreateTableMsg));
|
||||||
mDebug("app:%p:%p, table:%s, start to create on demand, tagLen:%d stable:%s",
|
mDebug("app:%p:%p, table:%s, start to create on demand, tagLen:%d stable:%s",
|
||||||
pMsg->rpcMsg.ahandle, pMsg, pInfo->tableId, tagLen, pTags->name);
|
pMsg->rpcMsg.ahandle, pMsg, pInfo->tableId, tagLen, pTags->name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue