提交 fc137df5 编写于 作者: S slguan

Fix the issue #185

上级 c304b179
......@@ -634,6 +634,7 @@ static int32_t tscParseSqlForCreateTableOnDemand(char** sqlstr, SSqlObj* pSql) {
/* create table if not exists */
sql = tscGetToken(sql, &id, &idlen);
STagData* pTag = (STagData*)pCmd->payload;
memset(pTag, 0, sizeof(STagData));
SSQLToken token1 = {idlen, TK_ID, id};
setMeterID(pSql, &token1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册