diff --git a/source/client/src/clientSml.c b/source/client/src/clientSml.c index 2d86f1989d..2fb20aca1b 100644 --- a/source/client/src/clientSml.c +++ b/source/client/src/clientSml.c @@ -1335,6 +1335,8 @@ static int32_t smlInsertData(SSmlHandle *info) { } taosArrayPush(info->pRequest->tableList, &pName); + tstrncpy(pName.tname, tableData->childTableName, strlen(tableData->childTableName) + 1); + SRequestConnInfo conn = {0}; conn.pTrans = info->taos->pAppInfo->pTransporter; conn.requestId = info->pRequest->requestId;