mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
Remove enabling MARS again. This merged down from master (#162)
This commit is contained in:
@@ -183,10 +183,6 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
|||||||
// create a sql connection instance
|
// create a sql connection instance
|
||||||
connectionInfo.SqlConnection = connectionInfo.Factory.CreateSqlConnection(connectionString);
|
connectionInfo.SqlConnection = connectionInfo.Factory.CreateSqlConnection(connectionString);
|
||||||
|
|
||||||
// turning on MARS to avoid break in LanguageService with multiple editors
|
|
||||||
// we'll remove this once ConnectionService is refactored to not own the LanguageService connection
|
|
||||||
connectionInfo.ConnectionDetails.MultipleActiveResultSets = true;
|
|
||||||
|
|
||||||
// Add a cancellation token source so that the connection OpenAsync() can be cancelled
|
// Add a cancellation token source so that the connection OpenAsync() can be cancelled
|
||||||
using (source = new CancellationTokenSource())
|
using (source = new CancellationTokenSource())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user