mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -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)
|
if (b.HasError)
|
||||||
{
|
{
|
||||||
ConnectionService.EnsureConnectionIsOpen(sqlConn, forceReopen: true);
|
ConnectionService.EnsureConnectionIsOpen(sqlConn);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user