mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 09:35:37 -05:00
Only reopen connection on exception if it's closed (#717)
This commit is contained in:
@@ -441,7 +441,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution
|
||||
{
|
||||
if (b.HasError)
|
||||
{
|
||||
ConnectionService.EnsureConnectionIsOpen(sqlConn, forceReopen: true);
|
||||
ConnectionService.EnsureConnectionIsOpen(sqlConn);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user