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

Merge pull request #20499 from taosdata/fix/TS-2912

fix: fix memory leak
......@@ -1244,6 +1244,7 @@ static int insertStmtExecute(STscStmt* stmt) {
while (pSql->retry < pSql->maxRetry) {
if (pSql->res.code == TSDB_CODE_TDB_TABLE_RECONFIGURE) {
pSql->retry += 1;
pCmd->insertParam.pDataBlocks = tscDestroyBlockArrayList(pSql, pCmd->insertParam.pDataBlocks);
code = insertStmtExecuteImpl(stmt, pTableMetaInfo, true);
if (code != TSDB_CODE_SUCCESS) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册