fix invalid write

This commit is contained in:
Hongze Cheng 2020-06-03 05:52:45 +00:00
parent ff292f2243
commit 5a712d028c
1 changed files with 1 additions and 0 deletions

View File

@ -1358,6 +1358,7 @@ static void *mnodeBuildCreateChildTableMsg(SCMCreateTableMsg *pMsg, SChildTableO
if (pMsg != NULL) {
pTagData = (STagData *)pMsg->schema;
tagDataLen = ntohl(pTagData->dataLen);
contLen += tagDataLen;
}
} else {
totalCols = pTable->numOfColumns;