mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
Add execution options to the stream factory (#848)
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution
|
||||
{
|
||||
BufferFileStreamFactory = new ServiceBufferFileStreamFactory
|
||||
{
|
||||
ExecutionSettings = Settings.QueryExecutionSettings
|
||||
QueryExecutionSettings = Settings.QueryExecutionSettings
|
||||
};
|
||||
}
|
||||
return BufferFileStreamFactory;
|
||||
@@ -757,6 +757,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution
|
||||
BufferFileFactory,
|
||||
executeParams.GetFullColumnSchema,
|
||||
applyExecutionSettings);
|
||||
|
||||
if (!ActiveQueries.TryAdd(executeParams.OwnerUri, newQuery))
|
||||
{
|
||||
newQuery.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user