Merge pull request #1958 from taosdata/feature/boundary-check

fix case 'general/http/telegraf.sim'
This commit is contained in:
Shengliang Guan 2020-05-19 16:54:39 +08:00 committed by GitHub
commit 6422239127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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