未验证 提交 95a1c956 编写于 作者: H Haojun Liao 提交者: GitHub

Merge pull request #6742 from taosdata/hotfix/TD-5021

[TD-5021]fix dead loop issue
......@@ -954,6 +954,10 @@ static int32_t tscCheckIfCreateTable(char **sqlstr, SSqlObj *pSql, char** boundC
break;
}
if (sToken.n == 0 || sToken.type == TK_SEMI || index == 0) {
return tscSQLSyntaxErrMsg(pCmd->payload, "unexpected token", sql);
}
sql += index;
++numOfColsAfterTags;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册