Skip to content

Commit 3db3d38

Browse files
CritasWangCopilot
andauthored
Update src/Apache.IoTDB/SessionPool.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c200bae commit 3db3d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Apache.IoTDB/SessionPool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ public async Task<int> ExecuteNonQueryStatementAsync(string sql)
14281428
{
14291429
// all client should switch to the same database
14301430
var failedClients = new List<(long SessionId, Exception Error)>();
1431-
foreach (var c in _clients.ClientQueue)
1431+
foreach (var c in _clients.ClientQueue.AsEnumerable())
14321432
{
14331433
try
14341434
{

0 commit comments

Comments
 (0)