未验证 提交 88930183 编写于 作者: S sxyseo 提交者: GitHub

fix: Local variable loopCont is assigned only once. (#9524)

上级 70905dbe
......@@ -1534,10 +1534,10 @@ int stmtGenInsertStatement(SSqlObj* pSql, STscStmt* pStmt, const char* name, TAO
}
int32_t stmtValidateValuesFields(SSqlCmd *pCmd, char * sql) {
int32_t loopCont = 1, index0 = 0, values = 0;
int32_t index0 = 0, values = 0;
SStrToken sToken;
while (loopCont) {
while (1) {
sToken = tStrGetToken(sql, &index0, false);
if (sToken.n <= 0) {
return TSDB_CODE_SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册