提交 e354f13b 编写于 作者: S shenglian zhou

fix bugs

上级 4208fa0b
...@@ -920,8 +920,6 @@ static int32_t doRunInsertSQL(TAOS* taos, char* sql, SSmlLinesInfo* info) { ...@@ -920,8 +920,6 @@ static int32_t doRunInsertSQL(TAOS* taos, char* sql, SSmlLinesInfo* info) {
} }
} while (tryAgain); } while (tryAgain);
free(sql);
return code; return code;
} }
...@@ -990,6 +988,7 @@ static int32_t applyDataPointsWithSqlInsert(TAOS* taos, TAOS_SML_DATA_POINT* poi ...@@ -990,6 +988,7 @@ static int32_t applyDataPointsWithSqlInsert(TAOS* taos, TAOS_SML_DATA_POINT* poi
tscDebug("SML:0x%"PRIx64" successfully applied data points", info->id); tscDebug("SML:0x%"PRIx64" successfully applied data points", info->id);
cleanup: cleanup:
free(sql);
pCTablePoints = taosHashIterate(cname2points, NULL); pCTablePoints = taosHashIterate(cname2points, NULL);
while (pCTablePoints) { while (pCTablePoints) {
SArray* pPoints = *pCTablePoints; SArray* pPoints = *pCTablePoints;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册