Skip to content

Commit

Permalink
Update SessionPoolTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou authored Nov 14, 2024
1 parent 77e88b1 commit 3ef92f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/Apache.IoTDB.Samples/SessionPoolTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ await session_pool.ExecuteNonQueryStatementAsync(
while (res.HasNext()) Console.WriteLine(res.Next());

await res.Close();
Console.WriteLine("SELECT * sql Passed");
Console.WriteLine("SELECT sql Passed");
res = await session_pool.ExecuteQueryStatementAsync(
"select * from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10");
res.ShowTableNames();
Expand All @@ -470,7 +470,7 @@ await session_pool.ExecuteNonQueryStatementAsync(
await res.Close();
Console.WriteLine("SELECT sql Passed");
res = await session_pool.ExecuteQueryStatementAsync(
"select timestamp, status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10");
"select status, temperature, hardware from " + string.Format("{0}.{1}", test_group_name, test_device) + " where time<10");
res.ShowTableNames();
while (res.HasNext()) Console.WriteLine(res.Next());

Expand Down

0 comments on commit 3ef92f0

Please sign in to comment.