Merge pull request #16771 from taosdata/docs/sangshuduo/csharp-example-free-result

docs: csharp example add free result to release memory
This commit is contained in:
Shengliang Guan 2022-09-12 09:34:21 +08:00 committed by GitHub
commit ce91f7050b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ namespace TDengineExample
CheckRes(conn, res, "failed to insert data");
int affectedRows = TDengine.AffectRows(res);
Console.WriteLine("affectedRows " + affectedRows);
TDengine.FreeResult(res);
ExitProgram(conn, 0);
}