提交 f73506be 编写于 作者: H Haojun Liao

[td-5654]<fix>: fix the bug caused by unexpected error code.

上级 953f72ec
......@@ -582,9 +582,7 @@ int32_t tsParseValues(char **str, STableDataBlocks *pDataBlock, int maxRows, SSq
sToken = tStrGetToken(*str, &index, false);
*str += index;
if (sToken.n == 0 || sToken.type != TK_RP) {
tscSQLSyntaxErrMsg(pCmd->payload, ") expected", *str);
code = TSDB_CODE_TSC_SQL_SYNTAX_ERROR;
return -1;
return tscSQLSyntaxErrMsg(pCmd->payload, ") expected", *str);
}
(*numOfRows)++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册