未验证 提交 bde9096d 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #20491 from taosdata/szhou/fix-ts2900

fix: schemaless oneline insertion sql syntax error
......@@ -1179,7 +1179,7 @@ static int doSmlInsertOneDataPoint(TAOS* taos, TAOS_SML_DATA_POINT* point, SSmlL
sqlLen += retLen;
}
--sqlLen;
retLen += snprintf(sql + sqlLen, freeBytes - sqlLen, ") values (");
retLen = snprintf(sql + sqlLen, freeBytes - sqlLen, ") values (");
if (retLen >= freeBytes - sqlLen) {
tscError("SML:0x%" PRIx64 " no free space for building sql", info->id);
return TSDB_CODE_TSC_OUT_OF_MEMORY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册