From ef999b4872ad76b86d174a440ca61da736c91a60 Mon Sep 17 00:00:00 2001 From: Bomin Zhang Date: Tue, 19 May 2020 14:26:32 +0800 Subject: [PATCH] fix case 'general/http/telegraf.sim' --- src/client/src/tscParseInsert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/tscParseInsert.c b/src/client/src/tscParseInsert.c index 36b1ab5993..56f0b5099d 100644 --- a/src/client/src/tscParseInsert.c +++ b/src/client/src/tscParseInsert.c @@ -779,6 +779,7 @@ static int32_t tscCheckIfCreateTable(char **sqlstr, SSqlObj *pSql) { STagData *pTag = (STagData *)pCmd->payload; memset(pTag, 0, sizeof(STagData)); + pCmd->payloadLen = sizeof(STagData); /* * the source super table is moved to the secondary position of the pTableMetaInfo list -- GitLab